We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ecaf7b7 commit 0e3d8d2Copy full SHA for 0e3d8d2
compiler/rustc_hir/src/def.rs
@@ -92,6 +92,7 @@ pub enum DefKind {
92
/// [RFC 2593]: https://github.com/rust-lang/rfcs/pull/2593
93
Ctor(CtorOf, CtorKind),
94
/// Associated function: `impl MyStruct { fn associated() {} }`
95
+ /// or `trait Foo { fn associated() {} }`
96
AssocFn,
97
/// Associated constant: `trait MyTrait { const ASSOC: usize; }`
98
AssocConst,
0 commit comments