Check exhaustiveness of function-ending match statements (#882)

Co-authored-by: Jon Meow <46229924+jonmeow@users.noreply.github.com>
This commit is contained in:
Geoff Romer
2021-10-13 16:04:43 -07:00
committed by GitHub
co-authored by Jon Meow
parent 652bee6d99
commit c2140c6cb9
8 changed files with 62 additions and 0 deletions
+1
View File
@@ -22,4 +22,5 @@ fn main() -> i32 {
return 0;
}
}
return 1;
}