rust/src/test/ui/error-codes/E0529.stderr
Vadim Petrochenkov 7c90189e13 Stabilize slice patterns without ..
Merge `feature(advanced_slice_patterns)` into `feature(slice_patterns)`
2018-03-20 02:27:40 +03:00

9 lines
280 B
Text

error[E0529]: expected an array or slice, found `f32`
--> $DIR/E0529.rs:14:9
|
LL | [a, b] => {
| ^^^^^^ pattern cannot match with input type `f32`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0529`.