]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0529.stderr
Suggest `if let`/`let_else` for refutable pat in `let`
[rust.git] / src / test / ui / error-codes / E0529.stderr
1 error[E0529]: expected an array or slice, found `f32`
2   --> $DIR/E0529.rs:4:9
3    |
4 LL |         [a, b] => {
5    |         ^^^^^^ pattern cannot match with input type `f32`
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0529`.