diff options
Diffstat (limited to 'crates/ra_hir/src/ty/lower.rs')
-rw-r--r-- | crates/ra_hir/src/ty/lower.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crates/ra_hir/src/ty/lower.rs b/crates/ra_hir/src/ty/lower.rs index 480bae740..061229842 100644 --- a/crates/ra_hir/src/ty/lower.rs +++ b/crates/ra_hir/src/ty/lower.rs | |||
@@ -14,6 +14,7 @@ use super::{ | |||
14 | }; | 14 | }; |
15 | use crate::{ | 15 | use crate::{ |
16 | adt::VariantDef, | 16 | adt::VariantDef, |
17 | db::HirDatabase, | ||
17 | generics::HasGenericParams, | 18 | generics::HasGenericParams, |
18 | generics::{GenericDef, WherePredicate}, | 19 | generics::{GenericDef, WherePredicate}, |
19 | nameres::Namespace, | 20 | nameres::Namespace, |
@@ -21,8 +22,8 @@ use crate::{ | |||
21 | resolve::{Resolution, Resolver}, | 22 | resolve::{Resolution, Resolver}, |
22 | ty::AdtDef, | 23 | ty::AdtDef, |
23 | type_ref::{TypeBound, TypeRef}, | 24 | type_ref::{TypeBound, TypeRef}, |
24 | BuiltinType, Const, Enum, EnumVariant, Function, HirDatabase, ModuleDef, Path, Static, Struct, | 25 | BuiltinType, Const, Enum, EnumVariant, Function, ModuleDef, Path, Static, Struct, StructField, |
25 | StructField, Trait, TypeAlias, Union, | 26 | Trait, TypeAlias, Union, |
26 | }; | 27 | }; |
27 | 28 | ||
28 | impl Ty { | 29 | impl Ty { |