1 error[E0620]: cast to unsized type: `&[usize; 2]` as `[usize]`
2 --> $DIR/E0620.rs:12:16
4 LL | let _foo = &[1_usize, 2] as [usize]; //~ ERROR E0620
5 | ^^^^^^^^^^^^^^^^^^^^^^^^
7 help: consider using an implicit coercion to `&[usize]` instead
8 --> $DIR/E0620.rs:12:16
10 LL | let _foo = &[1_usize, 2] as [usize]; //~ ERROR E0620
11 | ^^^^^^^^^^^^^^^^^^^^^^^^
13 error: aborting due to previous error
15 For more information about this error, try `rustc --explain E0620`.