mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
19 lines
624 B
Text
19 lines
624 B
Text
error[E0369]: cannot add `Box<isize>` to `Box<isize>`
|
|
--> $DIR/autoderef-full-lval.rs:15:24
|
|
|
|
|
LL | let z: isize = a.x + b.y;
|
|
| --- ^ --- Box<isize>
|
|
| |
|
|
| Box<isize>
|
|
|
|
error[E0369]: cannot add `Box<isize>` to `Box<isize>`
|
|
--> $DIR/autoderef-full-lval.rs:21:33
|
|
|
|
|
LL | let answer: isize = forty.a + two.a;
|
|
| ------- ^ ----- Box<isize>
|
|
| |
|
|
| Box<isize>
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0369`.
|