]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-31076.stderr
New upstream version 1.32.0~beta.2+dfsg1
[rustc.git] / src / test / ui / issues / issue-31076.stderr
1 error[E0369]: binary operation `+` cannot be applied to type `{integer}`
2 --> $DIR/issue-31076.rs:13:13
3 |
4 LL | let x = 5 + 6;
5 | ^^^^^
6 |
7 = note: an implementation of `std::ops::Add` might be missing for `{integer}`
8
9 error[E0369]: binary operation `+` cannot be applied to type `i32`
10 --> $DIR/issue-31076.rs:15:13
11 |
12 LL | let y = 5i32 + 6i32;
13 | ^^^^^^^^^^^
14 |
15 = note: an implementation of `std::ops::Add` might be missing for `i32`
16
17 error: aborting due to 2 previous errors
18
19 For more information about this error, try `rustc --explain E0369`.