diff options
Diffstat (limited to 'crates/hir/src/attrs.rs')
-rw-r--r-- | crates/hir/src/attrs.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/hir/src/attrs.rs b/crates/hir/src/attrs.rs index 1f2ee2580..d32ce37ed 100644 --- a/crates/hir/src/attrs.rs +++ b/crates/hir/src/attrs.rs | |||
@@ -10,8 +10,8 @@ use hir_ty::db::HirDatabase; | |||
10 | use syntax::ast; | 10 | use syntax::ast; |
11 | 11 | ||
12 | use crate::{ | 12 | use crate::{ |
13 | Adt, Const, Enum, EnumVariant, Field, Function, MacroDef, Module, ModuleDef, Static, Struct, | 13 | Adt, Const, Enum, Field, Function, MacroDef, Module, ModuleDef, Static, Struct, Trait, |
14 | Trait, TypeAlias, Union, | 14 | TypeAlias, Union, Variant, |
15 | }; | 15 | }; |
16 | 16 | ||
17 | pub trait HasAttrs { | 17 | pub trait HasAttrs { |
@@ -53,7 +53,7 @@ macro_rules! impl_has_attrs { | |||
53 | 53 | ||
54 | impl_has_attrs![ | 54 | impl_has_attrs![ |
55 | (Field, FieldId), | 55 | (Field, FieldId), |
56 | (EnumVariant, EnumVariantId), | 56 | (Variant, EnumVariantId), |
57 | (Static, StaticId), | 57 | (Static, StaticId), |
58 | (Const, ConstId), | 58 | (Const, ConstId), |
59 | (Trait, TraitId), | 59 | (Trait, TraitId), |