diff options
| author | bors <bors@rust-lang.org> | 2024-04-04 05:10:51 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-04-04 05:10:51 +0000 |
| commit | 394aa87a74a3d37c5643dae13acde583482f0359 (patch) | |
| tree | 0df96b7dd21d20796e58c38a8f7f36413be4a6d8 /compiler/rustc_parse/src/parser | |
| parent | 92509847a7fe4d829c5fb73eef1b839d6b9fdbd8 (diff) | |
| parent | 9c334143d84733cbd26f1698dd9137c09f34a77b (diff) | |
| download | rust-394aa87a74a3d37c5643dae13acde583482f0359.tar.gz rust-394aa87a74a3d37c5643dae13acde583482f0359.zip | |
Auto merge of #3447 - rust-lang:rustup-2024-04-04, r=saethlin
Automatic Rustup
Diffstat (limited to 'compiler/rustc_parse/src/parser')
| -rw-r--r-- | compiler/rustc_parse/src/parser/expr.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_parse/src/parser/expr.rs b/compiler/rustc_parse/src/parser/expr.rs index 18fb858c84c..012285e4644 100644 --- a/compiler/rustc_parse/src/parser/expr.rs +++ b/compiler/rustc_parse/src/parser/expr.rs @@ -860,6 +860,7 @@ impl<'a> Parser<'a> { ExprKind::MethodCall(_) => "a method call", ExprKind::Call(_, _) => "a function call", ExprKind::Await(_, _) => "`.await`", + ExprKind::Match(_, _, MatchKind::Postfix) => "a postfix match", ExprKind::Err(_) => return Ok(with_postfix), _ => unreachable!("parse_dot_or_call_expr_with_ shouldn't produce this"), } |
