We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fb2e06 commit 87c22f2Copy full SHA for 87c22f2
src/test/ui/issues/issue-31076.stderr
@@ -1,11 +1,19 @@
1
error[E0369]: binary operation `+` cannot be applied to type `{integer}`
2
- --> $DIR/typeck-issue-31076-correct-trait-impl.rs:13:13
+ --> $DIR/issue-31076.rs:13:13
3
|
4
LL | let x = 5 + 6;
5
| ^^^^^
6
7
= note: an implementation of `std::ops::Add` might be missing for `{integer}`
8
9
-error: aborting due to previous error
+error[E0369]: binary operation `+` cannot be applied to type `i32`
10
+ --> $DIR/issue-31076.rs:15:13
11
+ |
12
+LL | let y = 5i32 + 6i32;
13
+ | ^^^^^^^^^^^
14
15
+ = note: an implementation of `std::ops::Add` might be missing for `i32`
16
+
17
+error: aborting due to 2 previous errors
18
19
For more information about this error, try `rustc --explain E0369`.
0 commit comments