]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0118.rs
Suggest `if let`/`let_else` for refutable pat in `let`
[rust.git] / src / test / ui / error-codes / E0118.rs
1 impl (u8, u8) { //~ ERROR E0118
2     fn get_state(&self) -> String {
3         String::new()
4     }
5 }
6
7 fn main() {
8 }