Update compile fail tests to use isize.
This commit is contained in:
committed by
Niko Matsakis
parent
4f5a57e80e
commit
0c70ce1424
@@ -9,7 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
|
||||
fn func((1, (Some(1), 2...3)): (int, (Option<int>, int))) { }
|
||||
fn func((1, (Some(1), 2...3)): (isize, (Option<isize>, isize))) { }
|
||||
//~^ ERROR refutable pattern in function argument: `(_, _)` not covered
|
||||
|
||||
fn main() {
|
||||
|
||||
Reference in New Issue
Block a user