X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Flibrustc_save_analysis%2Fdump_visitor.rs;h=e63e31e03c9f021c95cf89c119349934247b4f7d;hb=ce6d3a73b514e9649e57cee812ad129bb2112016;hp=9b08f709f342faa95e04af1354cfbde18b61dfa5;hpb=4fb54ed484e2239a3e9eff3be17df00d2a162be3;p=rust.git diff --git a/src/librustc_save_analysis/dump_visitor.rs b/src/librustc_save_analysis/dump_visitor.rs index 9b08f709f34..e63e31e03c9 100644 --- a/src/librustc_save_analysis/dump_visitor.rs +++ b/src/librustc_save_analysis/dump_visitor.rs @@ -1102,7 +1102,6 @@ fn process_impl_item(&mut self, impl_item: &'tcx hir::ImplItem<'tcx>, impl_id: D impl_item.span, ); } - hir::ImplItemKind::OpaqueTy(..) => {} hir::ImplItemKind::TyAlias(ref ty) => { // FIXME: uses of the assoc type should ideally point to this // 'def' and the name here should be a ref to the def in the @@ -1380,7 +1379,7 @@ fn visit_ty(&mut self, t: &'tcx hir::Ty<'tcx>) { v.visit_expr(&map.body(anon_const.body).value) }); } - hir::TyKind::Def(item_id, _) => { + hir::TyKind::OpaqueDef(item_id, _) => { let item = self.tcx.hir().item(item_id.id); self.nest_tables(self.tcx.hir().local_def_id(item_id.id), |v| v.visit_item(item)); }