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 4a08333 commit 9fb2e06Copy full SHA for 9fb2e06
src/test/ui/issues/issue-31076.rs
@@ -12,4 +12,6 @@ impl Add<i32> for i32 {}
12
fn main() {
13
let x = 5 + 6;
14
//~^ ERROR binary operation `+` cannot be applied to type `{integer}`
15
+ let y = 5i32 + 6i32;
16
+ //~^ ERROR binary operation `+` cannot be applied to type `i32`
17
}
0 commit comments