mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-12 12:06:47 +00:00
Update E0005 Unit-Test
This commit is contained in:
parent
1fc18aab5d
commit
4cfdf634c1
@ -11,4 +11,5 @@
|
||||
fn main() {
|
||||
let x = Some(1);
|
||||
let Some(y) = x; //~ ERROR E0005
|
||||
//~| NOTE pattern `None` not covered
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user