Pretty-print impl trait to name it.
This commit is contained in:
parent
26089ba0a2
commit
3907072af4
3 changed files with 8 additions and 11 deletions
|
@ -278,7 +278,8 @@ pub enum DefPathData {
|
|||
Ctor,
|
||||
/// A constant expression (see `{ast,hir}::AnonConst`).
|
||||
AnonConst,
|
||||
/// An `impl Trait` type node.
|
||||
/// An existential `impl Trait` type node.
|
||||
/// Argument position `impl Trait` have a `TypeNs` with their pretty-printed name.
|
||||
ImplTrait,
|
||||
/// `impl Trait` generated associated type node.
|
||||
ImplTraitAssocTy,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue