diff options
| author | Eric Mark Martin <ericmarkmartin@gmail.com> | 2023-07-22 15:37:11 -0400 |
|---|---|---|
| committer | Eric Mark Martin <ericmarkmartin@gmail.com> | 2023-07-22 15:38:41 -0400 |
| commit | 7ac0ef9d1164fdb744f3f3c2f4a6893ed06cbe73 (patch) | |
| tree | af1603917063494106ef5ab7c840ccc20952f110 | |
| parent | aa33e8945c37a7a2ae59bba880bffa516bf408b6 (diff) | |
| download | rust-7ac0ef9d1164fdb744f3f3c2f4a6893ed06cbe73.tar.gz rust-7ac0ef9d1164fdb744f3f3c2f4a6893ed06cbe73.zip | |
add docs for AliasKind::Inherent
| -rw-r--r-- | compiler/rustc_type_ir/src/sty.rs | 1 |
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 |
