fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error[E0369]: cannot add `std::boxed::Box<isize>` to `std::boxed::Box<isize>` 2 --> $DIR/autoderef-full-lval.rs:15:24 3 | 4LL | let z: isize = a.x + b.y; 5 | --- ^ --- std::boxed::Box<isize> 6 | | 7 | std::boxed::Box<isize> 8 | 9 = note: an implementation of `std::ops::Add` might be missing for `std::boxed::Box<isize>` 10 11error[E0369]: cannot add `std::boxed::Box<isize>` to `std::boxed::Box<isize>` 12 --> $DIR/autoderef-full-lval.rs:21:33 13 | 14LL | let answer: isize = forty.a + two.a; 15 | ------- ^ ----- std::boxed::Box<isize> 16 | | 17 | std::boxed::Box<isize> 18 | 19 = note: an implementation of `std::ops::Add` might be missing for `std::boxed::Box<isize>` 20 21error: aborting due to 2 previous errors 22 23For more information about this error, try `rustc --explain E0369`.