about summary refs log tree commit diff
path: root/compiler/rustc_passes/src
diff options
context:
space:
mode:
authorLieselotte <52315535+she3py@users.noreply.github.com>2024-02-25 22:22:09 +0100
committerLieselotte <52315535+she3py@users.noreply.github.com>2024-02-25 22:22:09 +0100
commita3fce72a27ee41077c3752851ff778f886f0a4fa (patch)
treefa1d202e92a49e3cb5c01f548c9ff7ee37a2a4db /compiler/rustc_passes/src
parent8c0b1fcd2914caaf1c3a1071028fb74b70c519e9 (diff)
downloadrust-a3fce72a27ee41077c3752851ff778f886f0a4fa.tar.gz
rust-a3fce72a27ee41077c3752851ff778f886f0a4fa.zip
Add `ast::ExprKind::Dummy`
Diffstat (limited to 'compiler/rustc_passes/src')
-rw-r--r--compiler/rustc_passes/src/hir_stats.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_passes/src/hir_stats.rs b/compiler/rustc_passes/src/hir_stats.rs
index 96429bb7788..be6ba585d20 100644
--- a/compiler/rustc_passes/src/hir_stats.rs
+++ b/compiler/rustc_passes/src/hir_stats.rs
@@ -589,7 +589,7 @@ impl<'v> ast_visit::Visitor<'v> for StatCollector<'v> {
                 If, While, ForLoop, Loop, Match, Closure, Block, Await, TryBlock, Assign,
                 AssignOp, Field, Index, Range, Underscore, Path, AddrOf, Break, Continue, Ret,
                 InlineAsm, FormatArgs, OffsetOf, MacCall, Struct, Repeat, Paren, Try, Yield, Yeet,
-                Become, IncludedBytes, Gen, Err
+                Become, IncludedBytes, Gen, Err, Dummy
             ]
         );
         ast_visit::walk_expr(self, e)