about summary refs log tree commit diff
path: root/src/librustc_codegen_utils
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-11-06 03:28:20 +0100
committerGitHub <noreply@github.com>2019-11-06 03:28:20 +0100
commit35a5ffc8eab6d0aceb2f7dba207a0aa42d0264e5 (patch)
treed121150066de905b1877e0a1fb81884ac4656918 /src/librustc_codegen_utils
parentf221c3d83c3ba0f2cf8c19bdd059e603be50aa85 (diff)
parent25953321c00cc07cee0d414716a344357524d32b (diff)
downloadrust-35a5ffc8eab6d0aceb2f7dba207a0aa42d0264e5.tar.gz
rust-35a5ffc8eab6d0aceb2f7dba207a0aa42d0264e5.zip
Rollup merge of #66115 - eddyb:global-meta-what, r=michaelwoerister
rustc: remove "GlobalMetaData" dead code from hir::map::definitions.

Spotted while refactoring uses of `DefIndex` and/or `LocalDefId`.

r? @michaelwoerister
Diffstat (limited to 'src/librustc_codegen_utils')
-rw-r--r--src/librustc_codegen_utils/symbol_names/v0.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustc_codegen_utils/symbol_names/v0.rs b/src/librustc_codegen_utils/symbol_names/v0.rs
index 55b148fceb2..0fe4c7c6748 100644
--- a/src/librustc_codegen_utils/symbol_names/v0.rs
+++ b/src/librustc_codegen_utils/symbol_names/v0.rs
@@ -601,8 +601,7 @@ impl Printer<'tcx> for SymbolMangler<'tcx> {
             | DefPathData::Misc
             | DefPathData::Impl
             | DefPathData::MacroNs(_)
-            | DefPathData::LifetimeNs(_)
-            | DefPathData::GlobalMetaData(_) => {
+            | DefPathData::LifetimeNs(_) => {
                 bug!("symbol_names: unexpected DefPathData: {:?}", disambiguated_data.data)
             }
         };