]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-11771.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / issues / issue-11771.stderr
1 error[E0277]: cannot add `()` to `{integer}`
2   --> $DIR/issue-11771.rs:13:7
3    |
4 LL |     1 +
5    |       ^ no implementation for `{integer} + ()`
6    |
7    = help: the trait `std::ops::Add<()>` is not implemented for `{integer}`
8
9 error[E0277]: cannot add `()` to `{integer}`
10   --> $DIR/issue-11771.rs:18:7
11    |
12 LL |     1 +
13    |       ^ no implementation for `{integer} + ()`
14    |
15    = help: the trait `std::ops::Add<()>` is not implemented for `{integer}`
16
17 error: aborting due to 2 previous errors
18
19 For more information about this error, try `rustc --explain E0277`.