diff options
| author | Lieselotte <52315535+she3py@users.noreply.github.com> | 2024-02-25 22:22:09 +0100 |
|---|---|---|
| committer | Lieselotte <52315535+she3py@users.noreply.github.com> | 2024-02-25 22:22:09 +0100 |
| commit | a3fce72a27ee41077c3752851ff778f886f0a4fa (patch) | |
| tree | fa1d202e92a49e3cb5c01f548c9ff7ee37a2a4db /compiler/rustc_parse/src/parser/expr.rs | |
| parent | 8c0b1fcd2914caaf1c3a1071028fb74b70c519e9 (diff) | |
| download | rust-a3fce72a27ee41077c3752851ff778f886f0a4fa.tar.gz rust-a3fce72a27ee41077c3752851ff778f886f0a4fa.zip | |
Add `ast::ExprKind::Dummy`
Diffstat (limited to 'compiler/rustc_parse/src/parser/expr.rs')
| -rw-r--r-- | compiler/rustc_parse/src/parser/expr.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/expr.rs b/compiler/rustc_parse/src/parser/expr.rs index 1ad637451b1..89f28777bff 100644 --- a/compiler/rustc_parse/src/parser/expr.rs +++ b/compiler/rustc_parse/src/parser/expr.rs @@ -3949,7 +3949,8 @@ impl MutVisitor for CondChecker<'_> { | ExprKind::Become(_) | ExprKind::IncludedBytes(_) | ExprKind::FormatArgs(_) - | ExprKind::Err => { + | ExprKind::Err + | ExprKind::Dummy => { // These would forbid any let expressions they contain already. } } |
