rustc_trans: fix compilation
This commit is contained in:
parent
2f6976ede9
commit
8f63b416af
@ -1124,6 +1124,8 @@ impl<'b, 'a, 'v> ItemLikeVisitor<'v> for RootCollector<'b, 'a, 'v> {
|
||||
_ => { /* Nothing to do here */ }
|
||||
}
|
||||
}
|
||||
|
||||
fn visit_expr_id(&mut self, _: hir::ExprId) { }
|
||||
}
|
||||
|
||||
fn create_trans_items_for_default_impls<'a, 'tcx>(scx: &SharedCrateContext<'a, 'tcx>,
|
||||
|
@ -81,5 +81,7 @@ impl<'a, 'tcx> Visitor<'tcx> for SymbolNamesTest<'a, 'tcx> {
|
||||
self.process_attrs(ii.id);
|
||||
intravisit::walk_impl_item(self, ii)
|
||||
}
|
||||
|
||||
fn visit_expr_id(&mut self, _: hir::ExprId) { }
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user