fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error[E0620]: cast to unsized type: `&[usize; 2]` as `[usize]` 2 --> $DIR/E0620.rs:2:16 3 | 4LL | let _foo = &[1_usize, 2] as [usize]; 5 | ^^^^^^^^^^^^^^^^^^^^^^^^ 6 | 7help: consider using an implicit coercion to `&[usize]` instead 8 --> $DIR/E0620.rs:2:16 9 | 10LL | let _foo = &[1_usize, 2] as [usize]; 11 | ^^^^^^^^^^^^^^^^^^^^^^^^ 12 13error: aborting due to previous error 14 15For more information about this error, try `rustc --explain E0620`.