1 error[E0308]: mismatched types
2 --> $DIR/coercion-slice.rs:4:21
4 LL | let _: &[i32] = [0];
7 | expected &[i32], found array of 1 elements
8 | help: consider borrowing here: `&[0]`
10 = note: expected type `&[i32]`
11 found type `[{integer}; 1]`
13 error: aborting due to previous error
15 For more information about this error, try `rustc --explain E0308`.