]>
Commit | Line | Data |
---|---|---|
46de9a89 | 1 | error[E0369]: cannot add `{integer}` to `{integer}` |
532ac7d7 | 2 | --> $DIR/issue-31076.rs:13:15 |
a1dfa0c6 XL |
3 | | |
4 | LL | let x = 5 + 6; | |
532ac7d7 XL |
5 | | - ^ - {integer} |
6 | | | | |
7 | | {integer} | |
a1dfa0c6 | 8 | |
46de9a89 | 9 | error[E0369]: cannot add `i32` to `i32` |
532ac7d7 | 10 | --> $DIR/issue-31076.rs:15:18 |
a1dfa0c6 XL |
11 | | |
12 | LL | let y = 5i32 + 6i32; | |
532ac7d7 XL |
13 | | ---- ^ ---- i32 |
14 | | | | |
15 | | i32 | |
a1dfa0c6 XL |
16 | |
17 | error: aborting due to 2 previous errors | |
18 | ||
19 | For more information about this error, try `rustc --explain E0369`. |