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