@@ -15,9 +15,9 @@ use smallvec::SmallVec;
1515
1616use crate :: {
1717 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 ,
2121} ;
2222
2323#[ derive( Debug , Clone , PartialEq , Eq ) ]
@@ -134,8 +134,7 @@ impl<D> TyBuilder<D> {
134134 self . fill ( |x| match x {
135135 ParamKind :: Type => table. new_type_var ( ) . cast ( Interner ) ,
136136 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 ) ,
139138 } )
140139 }
141140
0 commit comments