Address review comments

This commit is contained in:
Jakub Wieczorek
2014-06-19 20:55:12 +02:00
parent 76f7eeef52
commit abce42afa3
10 changed files with 153 additions and 66 deletions

View File

@@ -10,9 +10,9 @@
fn func((1, (Some(1), 2..3)): (int, (Option<int>, int))) { }
//~^ ERROR refutable pattern in function argument: (_, _) not covered
//~^ ERROR refutable pattern in function argument: `(_, _)` not covered
fn main() {
let (1, (Some(1), 2..3)) = (1, (None, 2));
//~^ ERROR refutable pattern in local binding: (_, _) not covered
//~^ ERROR refutable pattern in local binding: `(_, _)` not covered
}