1 error[E0425]: cannot find value `does_not_exist` in this scope
2 --> $DIR/match-vec-mismatch.rs:28:11
4 LL | match does_not_exist {
5 | ^^^^^^^^^^^^^^ not found in this scope
7 error[E0529]: expected an array or slice, found `std::string::String`
8 --> $DIR/match-vec-mismatch.rs:5:9
10 LL | ['f', 'o', ..] => {}
11 | ^^^^^^^^^^^^^^ pattern cannot match with input type `std::string::String`
13 error[E0527]: pattern requires 1 elements but array has 3
14 --> $DIR/match-vec-mismatch.rs:20:9
17 | ^^^ expected 3 elements
19 error[E0528]: pattern requires at least 4 elements but array has 3
20 --> $DIR/match-vec-mismatch.rs:25:9
22 LL | [0, 1, 2, 3, x..] => {}
23 | ^^^^^^^^^^^^^^^^^ pattern cannot match array of 3 elements
25 error[E0282]: type annotations needed
26 --> $DIR/match-vec-mismatch.rs:36:9
29 | ^^ cannot infer type
31 = note: type must be known at this point
33 error: aborting due to 5 previous errors
35 Some errors occurred: E0282, E0425, E0527, E0528, E0529.
36 For more information about an error, try `rustc --explain E0282`.