1 error[E0277]: cannot add `()` to `{integer}`
2 --> $DIR/issue-11771.rs:3:7
5 | ^ no implementation for `{integer} + ()`
7 = help: the trait `std::ops::Add<()>` is not implemented for `{integer}`
9 error[E0277]: cannot add `()` to `{integer}`
10 --> $DIR/issue-11771.rs:8:7
13 | ^ no implementation for `{integer} + ()`
15 = help: the trait `std::ops::Add<()>` is not implemented for `{integer}`
17 error: aborting due to 2 previous errors
19 For more information about this error, try `rustc --explain E0277`.