Remove more traces of anonymous ADTs

This commit is contained in:
Michael Goulet 2024-12-10 19:50:40 +00:00
parent 33c245b9e9
commit 916d279236
12 changed files with 5 additions and 38 deletions

View file

@ -772,8 +772,7 @@ impl<'tcx> Printer<'tcx> for SymbolMangler<'tcx> {
| DefPathData::GlobalAsm
| DefPathData::Impl
| DefPathData::MacroNs(_)
| DefPathData::LifetimeNs(_)
| DefPathData::AnonAdt => {
| DefPathData::LifetimeNs(_) => {
bug!("symbol_names: unexpected DefPathData: {:?}", disambiguated_data.data)
}
};