Replace DefPathData::Misc by two appropriately-named variants.
This commit is contained in:
parent
3a08bd7873
commit
dde7bff574
3 changed files with 14 additions and 11 deletions
|
@ -788,7 +788,8 @@ impl<'tcx> Printer<'tcx> for &mut SymbolMangler<'tcx> {
|
|||
|
||||
// These should never show up as `path_append` arguments.
|
||||
DefPathData::CrateRoot
|
||||
| DefPathData::Misc
|
||||
| DefPathData::Use
|
||||
| DefPathData::GlobalAsm
|
||||
| DefPathData::Impl
|
||||
| DefPathData::MacroNs(_)
|
||||
| DefPathData::LifetimeNs(_) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue