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