]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0437.rs
Suggest `if let`/`let_else` for refutable pat in `let`
[rust.git] / src / test / ui / error-codes / E0437.rs
1 trait Foo {}
2
3 impl Foo for i32 {
4     type Bar = bool; //~ ERROR E0437
5 }
6
7 fn main () {
8 }