fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error[E0308]: mismatched types 2 --> $DIR/dst-bad-coerce4.rs:12:32 3 | 4LL | let f2: &Fat<[isize; 3]> = f1; 5 | ^^ expected array of 3 elements, found slice 6 | 7 = note: expected type `&Fat<[isize; 3]>` 8 found type `&Fat<[isize]>` 9 10error[E0308]: mismatched types 11 --> $DIR/dst-bad-coerce4.rs:20:30 12 | 13LL | let f2: &([isize; 3],) = f1; 14 | ^^ expected array of 3 elements, found slice 15 | 16 = note: expected type `&([isize; 3],)` 17 found type `&([isize],)` 18 19error: aborting due to 2 previous errors 20 21For more information about this error, try `rustc --explain E0308`.