2021-09-28 14:48:54 +00:00
|
|
|
error[E0369]: cannot add `i32` to `{integer}`
|
2019-03-27 17:13:09 +00:00
|
|
|
--> $DIR/issue-31076.rs:13:15
|
2018-11-05 12:33:43 +00:00
|
|
|
|
|
|
|
|
LL | let x = 5 + 6;
|
2021-09-28 14:48:54 +00:00
|
|
|
| - ^ - i32
|
2019-03-27 17:13:09 +00:00
|
|
|
| |
|
|
|
|
| {integer}
|
2018-11-05 12:33:43 +00:00
|
|
|
|
2019-12-10 21:03:13 +00:00
|
|
|
error[E0369]: cannot add `i32` to `i32`
|
2019-03-27 17:13:09 +00:00
|
|
|
--> $DIR/issue-31076.rs:15:18
|
2018-11-05 13:57:07 +00:00
|
|
|
|
|
|
|
|
LL | let y = 5i32 + 6i32;
|
2019-03-27 17:13:09 +00:00
|
|
|
| ---- ^ ---- i32
|
|
|
|
| |
|
|
|
|
| i32
|
2018-11-05 13:57:07 +00:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
2018-11-05 12:33:43 +00:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0369`.
|