Address review comments
This commit is contained in:
parent
76f7eeef52
commit
abce42afa3
10 changed files with 153 additions and 66 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue