rust/tests/ui/match/match-vec-mismatch-2.rs
2023-01-11 09:32:08 +00:00

7 lines
113 B
Rust

fn main() {
match () {
[()] => { }
//~^ ERROR expected an array or slice, found `()`
}
}