fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0529]: expected an array or slice, found `Vec<u32>` 2 --> $DIR/pattern-struct-with-slice-vec-field.rs:21:18 3 | 4LL | Foo { v: [1, 2] } => {} 5 | ^^^^^^ pattern cannot match with input type `Vec<u32>` 6 7error[E0529]: expected an array or slice, found `Vec<u32>` 8 --> $DIR/pattern-struct-with-slice-vec-field.rs:29:18 9 | 10LL | Bar { v: [1, 2] } => {} 11 | ^^^^^^ pattern cannot match with input type `Vec<u32>` 12 13error: aborting due to 2 previous errors 14 15For more information about this error, try `rustc --explain E0529`.