rust/src/test/compile-fail/alt-vec-mismatch-2.rs

6 lines
113 B
Rust

fn main() {
match () {
[()] => { } //~ ERROR mismatched type: expected `()` but found vector
}
}