fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error[E0308]: mismatched types 2 --> $DIR/dst-bad-coerce2.rs:15:33 3 | 4LL | let f3: &mut Fat<[isize]> = f2; 5 | ^^ types differ in mutability 6 | 7 = note: expected type `&mut Fat<[isize]>` 8 found type `&Fat<[isize; 3]>` 9 10error[E0308]: mismatched types 11 --> $DIR/dst-bad-coerce2.rs:20:33 12 | 13LL | let f3: &mut Fat<dyn Bar> = f2; 14 | ^^ types differ in mutability 15 | 16 = note: expected type `&mut Fat<dyn Bar>` 17 found type `&Fat<Foo>` 18 19error[E0308]: mismatched types 20 --> $DIR/dst-bad-coerce2.rs:25:31 21 | 22LL | let f3: &mut ([isize],) = f2; 23 | ^^ types differ in mutability 24 | 25 = note: expected type `&mut ([isize],)` 26 found type `&([isize; 3],)` 27 28error[E0308]: mismatched types 29 --> $DIR/dst-bad-coerce2.rs:30:31 30 | 31LL | let f3: &mut (dyn Bar,) = f2; 32 | ^^ types differ in mutability 33 | 34 = note: expected type `&mut (dyn Bar,)` 35 found type `&(Foo,)` 36 37error: aborting due to 4 previous errors 38 39For more information about this error, try `rustc --explain E0308`.