diff options
| author | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2018-12-09 22:42:08 +0200 |
|---|---|---|
| committer | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2019-03-15 09:26:13 +0200 |
| commit | 228d6f45d8fbf289e6505d12379a41e13a0872a1 (patch) | |
| tree | 2e8591a073e3966eafb4bb718bbb5e2ced23c65f /src/librustc_codegen_utils | |
| parent | bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7 (diff) | |
| download | rust-228d6f45d8fbf289e6505d12379a41e13a0872a1.tar.gz rust-228d6f45d8fbf289e6505d12379a41e13a0872a1.zip | |
rustc: remove unnecessary extern_prelude logic from ty::item_path.
Diffstat (limited to 'src/librustc_codegen_utils')
| -rw-r--r-- | src/librustc_codegen_utils/symbol_names.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_codegen_utils/symbol_names.rs b/src/librustc_codegen_utils/symbol_names.rs index 5de5c297c30..91301158abd 100644 --- a/src/librustc_codegen_utils/symbol_names.rs +++ b/src/librustc_codegen_utils/symbol_names.rs @@ -225,7 +225,7 @@ fn get_symbol_hash<'a, 'tcx>( fn def_symbol_name<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>, def_id: DefId) -> ty::SymbolName { let mut buffer = SymbolPathBuffer::new(tcx); item_path::with_forced_absolute_paths(|| { - tcx.push_item_path(&mut buffer, def_id, false); + tcx.push_item_path(&mut buffer, def_id); }); buffer.into_interned() } |
