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