rust/tests/ui/autoderef-full-lval.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
624 B
Plaintext
Raw Normal View History

error[E0369]: cannot add `Box<isize>` to `Box<isize>`
--> $DIR/autoderef-full-lval.rs:15:24
2018-08-08 07:28:26 -05:00
|
LL | let z: isize = a.x + b.y;
| --- ^ --- Box<isize>
| |
| Box<isize>
2018-08-08 07:28:26 -05:00
error[E0369]: cannot add `Box<isize>` to `Box<isize>`
--> $DIR/autoderef-full-lval.rs:21:33
2018-08-08 07:28:26 -05:00
|
LL | let answer: isize = forty.a + two.a;
| ------- ^ ----- Box<isize>
| |
| Box<isize>
2018-08-08 07:28:26 -05:00
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0369`.