diff options
-rw-r--r-- | gcc/rust/parse/rust-parse.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/rust/parse/rust-parse.cc b/gcc/rust/parse/rust-parse.cc index b77100a..f1e2caa 100644 --- a/gcc/rust/parse/rust-parse.cc +++ b/gcc/rust/parse/rust-parse.cc @@ -241,6 +241,9 @@ peculiar_fragment_match_compatible (const AST::MacroMatchFragment &last_match, case AST::CURLY: delim_id = LEFT_CURLY; break; + default: + gcc_unreachable (); + break; } if (contains (allowed_toks, delim_id)) return true; |