add docs for AliasKind::Inherent

This commit is contained in:
Eric Mark Martin 2023-07-22 15:37:11 -04:00
parent aa33e8945c
commit 7ac0ef9d11

View File

@ -39,6 +39,7 @@ pub enum AliasKind {
/// A projection `<Type as Trait>::AssocType`.
/// Can get normalized away if monomorphic enough.
Projection,
/// An associated type in an inherent `impl`
Inherent,
/// An opaque type (usually from `impl Trait` in type aliases or function return types)
/// Can only be normalized away in RevealAll mode