diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2020-01-05 02:37:57 +0100 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2020-01-05 12:49:22 +0100 |
| commit | ebfd8673a791661d9cb526d9994f2f6bbfa49348 (patch) | |
| tree | 084e589725ed9868e6d208e65b63e51d43fefc27 /src/librustc_codegen_ssa/debuginfo | |
| parent | 1c091bba51e937df166dc978ab6de647cfaac719 (diff) | |
| download | rust-ebfd8673a791661d9cb526d9994f2f6bbfa49348.tar.gz rust-ebfd8673a791661d9cb526d9994f2f6bbfa49348.zip | |
Remove rustc_hir reexports in rustc::hir.
Diffstat (limited to 'src/librustc_codegen_ssa/debuginfo')
| -rw-r--r-- | src/librustc_codegen_ssa/debuginfo/type_names.rs | 3 |
1 files changed, 2 insertions, 1 deletions
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 |
