summary refs log tree commit diff
path: root/src/test/ui/issues/issue-31076.stderr
blob: 4c0e1cf7ebb0bfd873f1d50dddcb72e1b4b29518 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
error[E0369]: cannot add `{integer}` to `{integer}`
  --> $DIR/issue-31076.rs:13:15
   |
LL |     let x = 5 + 6;
   |             - ^ - {integer}
   |             |
   |             {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`.