File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -203,11 +203,7 @@ where
203
203
fields. fold ( gb. interner ( ) , & mut input_types) ;
204
204
// ...in a where clause.
205
205
where_clauses. fold ( gb. interner ( ) , & mut input_types) ;
206
- gb. all (
207
- input_types
208
- . into_iter ( )
209
- . map ( |ty| DomainGoal :: WellFormed ( WellFormed :: Ty ( ty) ) ) ,
210
- )
206
+ gb. all ( input_types. into_iter ( ) . map ( |ty| ty. well_formed ( ) ) )
211
207
} ,
212
208
)
213
209
} ) ;
@@ -443,7 +439,7 @@ fn compute_assoc_ty_goal<I: Interner>(
443
439
// We require that `WellFormed(T)` for each type that appears in the value
444
440
let wf_goals = input_types
445
441
. into_iter ( )
446
- . map ( |ty| DomainGoal :: WellFormed ( WellFormed :: Ty ( ty ) ) )
442
+ . map ( |ty| ty . well_formed ( ) )
447
443
. casted ( interner) ;
448
444
449
445
// Check that the `value_ty` meets the bounds from the trait.
You can’t perform that action at this time.
0 commit comments