Skip to content

Commit 8f63b41

Browse files
committed
rustc_trans: fix compilation
1 parent 2f6976e commit 8f63b41

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/librustc_trans/collector.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,6 +1124,8 @@ impl<'b, 'a, 'v> ItemLikeVisitor<'v> for RootCollector<'b, 'a, 'v> {
11241124
_ => { /* Nothing to do here */ }
11251125
}
11261126
}
1127+
1128+
fn visit_expr_id(&mut self, _: hir::ExprId) { }
11271129
}
11281130

11291131
fn create_trans_items_for_default_impls<'a, 'tcx>(scx: &SharedCrateContext<'a, 'tcx>,

src/librustc_trans/symbol_names_test.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,7 @@ impl<'a, 'tcx> Visitor<'tcx> for SymbolNamesTest<'a, 'tcx> {
8181
self.process_attrs(ii.id);
8282
intravisit::walk_impl_item(self, ii)
8383
}
84+
85+
fn visit_expr_id(&mut self, _: hir::ExprId) { }
8486
}
8587

0 commit comments

Comments
 (0)