Skip to content

Commit 9fb2e06

Browse files
authored
update test to include concrete type (i32)
1 parent 4a08333 commit 9fb2e06

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/ui/issues/issue-31076.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,6 @@ impl Add<i32> for i32 {}
1212
fn main() {
1313
let x = 5 + 6;
1414
//~^ ERROR binary operation `+` cannot be applied to type `{integer}`
15+
let y = 5i32 + 6i32;
16+
//~^ ERROR binary operation `+` cannot be applied to type `i32`
1517
}

0 commit comments

Comments
 (0)