summary refs log tree commit diff
path: root/src/test/ui/issues/issue-31076.stderr
blob: 60a3be1c36b753585628a8260d625d8b6c88dc1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
error[E0369]: binary operation `+` cannot be applied to type `{integer}`
  --> $DIR/issue-31076.rs:13:15
   |
LL |     let x = 5 + 6;
   |             - ^ - {integer}
   |             |
   |             {integer}
   |
   = note: an implementation of `std::ops::Add` might be missing for `{integer}`

error[E0369]: binary operation `+` cannot be applied to type `i32`
  --> $DIR/issue-31076.rs:15:18
   |
LL |     let y = 5i32 + 6i32;
   |             ---- ^ ---- i32
   |             |
   |             i32
   |
   = note: an implementation of `std::ops::Add` might be missing for `i32`

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0369`.