From ebfd8673a791661d9cb526d9994f2f6bbfa49348 Mon Sep 17 00:00:00 2001 From: Mazdak Farrokhzad Date: Sun, 5 Jan 2020 02:37:57 +0100 Subject: Remove rustc_hir reexports in rustc::hir. --- src/librustc_codegen_ssa/debuginfo/type_names.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/librustc_codegen_ssa/debuginfo') diff --git a/src/librustc_codegen_ssa/debuginfo/type_names.rs b/src/librustc_codegen_ssa/debuginfo/type_names.rs index 4d18f49ebf7..8dd35208bf6 100644 --- a/src/librustc_codegen_ssa/debuginfo/type_names.rs +++ b/src/librustc_codegen_ssa/debuginfo/type_names.rs @@ -1,8 +1,9 @@ // Type Names for Debug Info. -use rustc::hir::{self, def_id::DefId}; use rustc::ty::{self, subst::SubstsRef, Ty, TyCtxt}; use rustc_data_structures::fx::FxHashSet; +use rustc_hir as hir; +use rustc_hir::def_id::DefId; // Compute the name of the type as it should be stored in debuginfo. Does not do // any caching, i.e., calling the function twice with the same type will also do -- cgit 1.4.1-3-g733a5