error[E0369]: cannot add `Box` to `Box` --> $DIR/autoderef-full-lval.rs:15:24 | LL | let z: isize = a.x + b.y; | --- ^ --- Box | | | Box | note: the foreign item type `Box` doesn't implement `Add` --> $SRC_DIR/alloc/src/boxed.rs:LL:COL ::: $SRC_DIR/alloc/src/boxed.rs:LL:COL | = note: not implement `Add` error[E0369]: cannot add `Box` to `Box` --> $DIR/autoderef-full-lval.rs:21:33 | LL | let answer: isize = forty.a + two.a; | ------- ^ ----- Box | | | Box | note: the foreign item type `Box` doesn't implement `Add` --> $SRC_DIR/alloc/src/boxed.rs:LL:COL ::: $SRC_DIR/alloc/src/boxed.rs:LL:COL | = note: not implement `Add` error: aborting due to 2 previous errors For more information about this error, try `rustc --explain E0369`.