@@ -15,9 +15,9 @@ use smallvec::SmallVec;
15
15
16
16
use crate :: {
17
17
consteval:: unknown_const_as_generic, db:: HirDatabase , error_lifetime,
18
- infer:: unify:: InferenceTable , primitive, static_lifetime , to_assoc_type_id, to_chalk_trait_id,
19
- utils :: generics , Binders , BoundVar , CallableSig , GenericArg , GenericArgData , Interner ,
20
- ProjectionTy , Substitution , TraitRef , Ty , TyDefId , TyExt , TyKind ,
18
+ infer:: unify:: InferenceTable , primitive, to_assoc_type_id, to_chalk_trait_id, utils :: generics ,
19
+ Binders , BoundVar , CallableSig , GenericArg , GenericArgData , Interner , ProjectionTy ,
20
+ Substitution , TraitRef , Ty , TyDefId , TyExt , TyKind ,
21
21
} ;
22
22
23
23
#[ derive( Debug , Clone , PartialEq , Eq ) ]
@@ -134,8 +134,7 @@ impl<D> TyBuilder<D> {
134
134
self . fill ( |x| match x {
135
135
ParamKind :: Type => table. new_type_var ( ) . cast ( Interner ) ,
136
136
ParamKind :: Const ( ty) => table. new_const_var ( ty. clone ( ) ) . cast ( Interner ) ,
137
- // FIXME: create new_lifetime_var in table
138
- ParamKind :: Lifetime => static_lifetime ( ) . cast ( Interner ) ,
137
+ ParamKind :: Lifetime => table. new_lifetime_var ( ) . cast ( Interner ) ,
139
138
} )
140
139
}
141
140
0 commit comments