Skip to content

Commit 4cfdf63

Browse files
committed
Update E0005 Unit-Test
1 parent 1fc18aa commit 4cfdf63

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/compile-fail/E0005.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@
1111
fn main() {
1212
let x = Some(1);
1313
let Some(y) = x; //~ ERROR E0005
14+
//~| NOTE pattern `None` not covered
1415
}

0 commit comments

Comments
 (0)