1 error[E0308]: mismatched types
2 --> $DIR/array-not-vector.rs:12:19
4 LL | let _x: i32 = [1, 2, 3];
5 | ^^^^^^^^^ expected i32, found array of 3 elements
7 = note: expected type `i32`
8 found type `[{integer}; 3]`
10 error[E0308]: mismatched types
11 --> $DIR/array-not-vector.rs:19:20
13 LL | let _y: &i32 = x;
14 | ^ expected i32, found slice
16 = note: expected type `&i32`
19 error: aborting due to 2 previous errors
21 For more information about this error, try `rustc --explain E0308`.