fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
624 B19 linesraw
1error[E0369]: cannot add `Box<isize>` to `Box<isize>`
2  --> $DIR/autoderef-full-lval.rs:15:24
3   |
4LL |     let z: isize = a.x + b.y;
5   |                    --- ^ --- Box<isize>
6   |                    |
7   |                    Box<isize>
8
9error[E0369]: cannot add `Box<isize>` to `Box<isize>`
10  --> $DIR/autoderef-full-lval.rs:21:33
11   |
12LL |     let answer: isize = forty.a + two.a;
13   |                         ------- ^ ----- Box<isize>
14   |                         |
15   |                         Box<isize>
16
17error: aborting due to 2 previous errors
18
19For more information about this error, try `rustc --explain E0369`.