1
Fork 0

Pretty-print impl trait to name it.

This commit is contained in:
Camille GILLOT 2022-04-08 23:29:07 +02:00
parent 26089ba0a2
commit 3907072af4
3 changed files with 8 additions and 11 deletions

View file

@ -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,