Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir/src/attrs.rs')
-rw-r--r--crates/hir/src/attrs.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/crates/hir/src/attrs.rs b/crates/hir/src/attrs.rs
index bec91032b9..223103b6e5 100644
--- a/crates/hir/src/attrs.rs
+++ b/crates/hir/src/attrs.rs
@@ -38,7 +38,11 @@ pub enum AttrsOwner {
Field(FieldId),
LifetimeParam(LifetimeParamId),
TypeOrConstParam(TypeOrConstParamId),
- /// Things that do not have attributes. Used for builtin derives.
+ /// Things that do not have attributes.
+ ///
+ /// Used for:
+ /// - builtin derives
+ /// - builtin types (as those do not have attributes)
Dummy,
}