]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0529.rs
Suggest `if let`/`let_else` for refutable pat in `let`
[rust.git] / src / test / ui / error-codes / E0529.rs
1 fn main() {
2     let r: f32 = 1.0;
3     match r {
4         [a, b] => {
5         //~^ ERROR E0529
6         }
7     }
8 }