Change how anonymous associated types are printed.
Give them their own symbol `anon_assoc`, as is done for all the other anonymous `DefPathData` variants.
This commit is contained in:
parent
9eca59a940
commit
cdf5b8d4e7
9 changed files with 16 additions and 15 deletions
|
@ -446,7 +446,7 @@ impl DefPathData {
|
|||
Ctor => DefPathDataName::Anon { namespace: sym::constructor },
|
||||
AnonConst => DefPathDataName::Anon { namespace: sym::constant },
|
||||
OpaqueTy => DefPathDataName::Anon { namespace: sym::opaque },
|
||||
AnonAssocTy => DefPathDataName::Anon { namespace: sym::synthetic },
|
||||
AnonAssocTy => DefPathDataName::Anon { namespace: sym::anon_assoc },
|
||||
SyntheticCoroutineBody => DefPathDataName::Anon { namespace: sym::synthetic },
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue