diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-11-06 03:28:20 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-06 03:28:20 +0100 |
| commit | 35a5ffc8eab6d0aceb2f7dba207a0aa42d0264e5 (patch) | |
| tree | d121150066de905b1877e0a1fb81884ac4656918 /src/librustc_codegen_utils | |
| parent | f221c3d83c3ba0f2cf8c19bdd059e603be50aa85 (diff) | |
| parent | 25953321c00cc07cee0d414716a344357524d32b (diff) | |
| download | rust-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.rs | 3 |
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) } }; |
