We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 84569f9 + 889e571 commit 7988adfCopy full SHA for 7988adf
compiler/rustc_hir/src/def.rs
@@ -113,6 +113,9 @@ pub enum DefKind {
113
InlineConst,
114
/// Opaque type, aka `impl Trait`.
115
OpaqueTy,
116
+ /// A field in a struct, enum or union. e.g.
117
+ /// - `bar` in `struct Foo { bar: u8 }`
118
+ /// - `Foo::Bar::0` in `enum Foo { Bar(u8) }`
119
Field,
120
/// Lifetime parameter: the `'a` in `struct Foo<'a> { ... }`
121
LifetimeParam,
0 commit comments