update test to include concrete type (i32)
This commit is contained in:
parent
4a08333c4d
commit
9fb2e0618e
1 changed files with 2 additions and 0 deletions
|
@ -12,4 +12,6 @@ impl Add<i32> for i32 {}
|
|||
fn main() {
|
||||
let x = 5 + 6;
|
||||
//~^ ERROR binary operation `+` cannot be applied to type `{integer}`
|
||||
let y = 5i32 + 6i32;
|
||||
//~^ ERROR binary operation `+` cannot be applied to type `i32`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue