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