Perform match checking on THIR.
This commit is contained in:
parent
3b47cdc439
commit
05082f57af
81 changed files with 668 additions and 997 deletions
|
@ -4,7 +4,7 @@ fn main() {
|
|||
match Some(1) { //~ ERROR non-exhaustive patterns: `None` not covered
|
||||
Some(1) => {}
|
||||
// hello
|
||||
Some(_) => {}
|
||||
Some(_) => {},
|
||||
None => todo!()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue