Skip to content

Commit 7ac0ef9

Browse files
add docs for AliasKind::Inherent
1 parent aa33e89 commit 7ac0ef9

File tree

1 file changed

+1
-0
lines changed
  • compiler/rustc_type_ir/src

1 file changed

+1
-0
lines changed

compiler/rustc_type_ir/src/sty.rs

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

0 commit comments

Comments
 (0)