diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2024-01-29 12:56:54 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-29 12:56:54 +0000 |
| commit | eaa100204e0f757f934b23db9bcbf570276e4018 (patch) | |
| tree | 23d6a00d0400cb40624bc296a5feaa54129afc87 /compiler/rustc_passes/src | |
| parent | 5de94a3c807f424334e0906ee772e4f1adf6cdda (diff) | |
| parent | b2b5b91bfbe5b39d17be3a14108fe7823627e0d8 (diff) | |
| download | rust-eaa100204e0f757f934b23db9bcbf570276e4018.tar.gz rust-eaa100204e0f757f934b23db9bcbf570276e4018.zip | |
Rollup merge of #120428 - petrochenkov:somehir2, r=compiler-errors
hir: Two preparatory changes for #120206 cc https://github.com/rust-lang/rust/pull/120206 r? ```@compiler-errors```
Diffstat (limited to 'compiler/rustc_passes/src')
| -rw-r--r-- | compiler/rustc_passes/src/hir_stats.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler/rustc_passes/src/hir_stats.rs b/compiler/rustc_passes/src/hir_stats.rs index 528a52f4225..e94d8c4c932 100644 --- a/compiler/rustc_passes/src/hir_stats.rs +++ b/compiler/rustc_passes/src/hir_stats.rs @@ -328,11 +328,6 @@ impl<'v> hir_visit::Visitor<'v> for StatCollector<'v> { hir_visit::walk_expr(self, e) } - fn visit_let_expr(&mut self, lex: &'v hir::Let<'v>) { - self.record("Let", Id::Node(lex.hir_id), lex); - hir_visit::walk_let_expr(self, lex) - } - fn visit_expr_field(&mut self, f: &'v hir::ExprField<'v>) { self.record("ExprField", Id::Node(f.hir_id), f); hir_visit::walk_expr_field(self, f) |
