1
Fork 0

Update compile fail tests to use isize.

This commit is contained in:
Huon Wilson 2015-01-08 21:54:35 +11:00 committed by Niko Matsakis
parent 4f5a57e80e
commit 0c70ce1424
552 changed files with 1323 additions and 1323 deletions

View file

@ -9,7 +9,7 @@
// except according to those terms.
fn main() {
let f = |&: 3: int| println!("hello");
let f = |&: 3: isize| println!("hello");
//~^ ERROR refutable pattern in function argument: `_` not covered
f(4);
}