]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-11771.stderr
New upstream version 1.33.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-11771.stderr
CommitLineData
8faf50e0 1error[E0277]: cannot add `()` to `{integer}`
0731742a 2 --> $DIR/issue-11771.rs:3:7
8faf50e0
XL
3 |
4LL | 1 +
5 | ^ no implementation for `{integer} + ()`
6 |
7 = help: the trait `std::ops::Add<()>` is not implemented for `{integer}`
8
9error[E0277]: cannot add `()` to `{integer}`
0731742a 10 --> $DIR/issue-11771.rs:8:7
8faf50e0
XL
11 |
12LL | 1 +
13 | ^ no implementation for `{integer} + ()`
14 |
15 = help: the trait `std::ops::Add<()>` is not implemented for `{integer}`
16
17error: aborting due to 2 previous errors
18
19For more information about this error, try `rustc --explain E0277`.