Skip to content

Commit

Permalink
Update E0005 Unit-Test
Browse files Browse the repository at this point in the history
  • Loading branch information
pythoneer committed Aug 16, 2016
1 parent 1fc18aa commit 4cfdf63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/compile-fail/E0005.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@
fn main() {
let x = Some(1);
let Some(y) = x; //~ ERROR E0005
//~| NOTE pattern `None` not covered
}

0 comments on commit 4cfdf63

Please sign in to comment.