mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 13:05:18 +03:00
Fix a non-exhaustive match failure.
This commit is contained in:
@@ -731,6 +731,7 @@ fn do_else(&ps s, option::t[@ast::expr] els) {
|
||||
case (some(?msg)) {
|
||||
word(s.s, #fmt("\"%s\"", msg));
|
||||
}
|
||||
case (_) {}
|
||||
}
|
||||
}
|
||||
case (ast::expr_break(_)) {
|
||||
|
||||
Reference in New Issue
Block a user