Update E0005 Unit-Test
This commit is contained in:
parent
1fc18aab5d
commit
4cfdf634c1
1 changed files with 1 additions and 0 deletions
|
|
@ -11,4 +11,5 @@
|
|||
fn main() {
|
||||
let x = Some(1);
|
||||
let Some(y) = x; //~ ERROR E0005
|
||||
//~| NOTE pattern `None` not covered
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue