about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Mark Martin <ericmarkmartin@gmail.com>2023-07-22 15:37:11 -0400
committerEric Mark Martin <ericmarkmartin@gmail.com>2023-07-22 15:38:41 -0400
commit7ac0ef9d1164fdb744f3f3c2f4a6893ed06cbe73 (patch)
treeaf1603917063494106ef5ab7c840ccc20952f110
parentaa33e8945c37a7a2ae59bba880bffa516bf408b6 (diff)
downloadrust-7ac0ef9d1164fdb744f3f3c2f4a6893ed06cbe73.tar.gz
rust-7ac0ef9d1164fdb744f3f3c2f4a6893ed06cbe73.zip
add docs for AliasKind::Inherent
-rw-r--r--compiler/rustc_type_ir/src/sty.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_type_ir/src/sty.rs b/compiler/rustc_type_ir/src/sty.rs
index b134845dab0..ec0dbffc22f 100644
--- a/compiler/rustc_type_ir/src/sty.rs
+++ b/compiler/rustc_type_ir/src/sty.rs
@@ -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