diff options
Diffstat (limited to 'gdb/rust-parse.c')
-rw-r--r-- | gdb/rust-parse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/rust-parse.c b/gdb/rust-parse.c index d2f6008..aaf4cef 100644 --- a/gdb/rust-parse.c +++ b/gdb/rust-parse.c @@ -1386,7 +1386,7 @@ rust_parser::parse_binop (bool required) case COMPOUND_ASSIGN: compound_assign_op = current_opcode; - /* FALLTHROUGH */ + [[fallthrough]]; case '=': precedence = ASSIGN_PREC; lex (); @@ -1831,7 +1831,7 @@ rust_parser::parse_path (bool for_expr) if (current_token != COLONCOLON) return "self"; lex (); - /* FALLTHROUGH */ + [[fallthrough]]; case KW_SUPER: while (current_token == KW_SUPER) { |