fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
650 B23 linesraw
1error[E0369]: cannot add `{integer}` to `{integer}`
2  --> $DIR/issue-31076.rs:13:15
3   |
4LL |     let x = 5 + 6;
5   |             - ^ - {integer}
6   |             |
7   |             {integer}
8   |
9   = note: an implementation of `std::ops::Add` might be missing for `{integer}`
10
11error[E0369]: cannot add `i32` to `i32`
12  --> $DIR/issue-31076.rs:15:18
13   |
14LL |     let y = 5i32 + 6i32;
15   |             ---- ^ ---- i32
16   |             |
17   |             i32
18   |
19   = note: an implementation of `std::ops::Add` might be missing for `i32`
20
21error: aborting due to 2 previous errors
22
23For more information about this error, try `rustc --explain E0369`.