@@ -108,7 +108,6 @@ where
108
108
ecx : & mut EvalCtxt < ' _ , D > ,
109
109
_guar : I :: ErrorGuaranteed ,
110
110
) -> Result < Candidate < I > , NoSolution > {
111
- // FIXME: don't need to enter a probe here.
112
111
ecx. probe_builtin_trait_candidate ( BuiltinImplSource :: Misc )
113
112
. enter ( |ecx| ecx. evaluate_added_goals_and_make_canonical_response ( Certainty :: Yes ) )
114
113
}
@@ -463,7 +462,6 @@ where
463
462
// Async coroutine unconditionally implement `Future`
464
463
// Technically, we need to check that the future output type is Sized,
465
464
// but that's already proven by the coroutine being WF.
466
- // FIXME: use `consider_implied`
467
465
ecx. probe_builtin_trait_candidate ( BuiltinImplSource :: Misc )
468
466
. enter ( |ecx| ecx. evaluate_added_goals_and_make_canonical_response ( Certainty :: Yes ) )
469
467
}
@@ -489,7 +487,6 @@ where
489
487
// Gen coroutines unconditionally implement `Iterator`
490
488
// Technically, we need to check that the iterator output type is Sized,
491
489
// but that's already proven by the coroutines being WF.
492
- // FIXME: use `consider_implied`
493
490
ecx. probe_builtin_trait_candidate ( BuiltinImplSource :: Misc )
494
491
. enter ( |ecx| ecx. evaluate_added_goals_and_make_canonical_response ( Certainty :: Yes ) )
495
492
}
@@ -512,8 +509,7 @@ where
512
509
return Err ( NoSolution ) ;
513
510
}
514
511
515
- // Gen coroutines unconditionally implement `FusedIterator`
516
- // FIXME: use `consider_implied`
512
+ // Gen coroutines unconditionally implement `FusedIterator`.
517
513
ecx. probe_builtin_trait_candidate ( BuiltinImplSource :: Misc )
518
514
. enter ( |ecx| ecx. evaluate_added_goals_and_make_canonical_response ( Certainty :: Yes ) )
519
515
}
@@ -539,7 +535,6 @@ where
539
535
// Gen coroutines unconditionally implement `Iterator`
540
536
// Technically, we need to check that the iterator output type is Sized,
541
537
// but that's already proven by the coroutines being WF.
542
- // FIXME: use `consider_implied`
543
538
ecx. probe_builtin_trait_candidate ( BuiltinImplSource :: Misc )
544
539
. enter ( |ecx| ecx. evaluate_added_goals_and_make_canonical_response ( Certainty :: Yes ) )
545
540
}
@@ -610,7 +605,7 @@ where
610
605
return Err ( NoSolution ) ;
611
606
}
612
607
613
- // FIXME(-Znext-solver ): Implement this when we get const working in the new solver
608
+ // FIXME(effects ): Implement this when we get const working in the new solver
614
609
615
610
// `Destruct` is automatically implemented for every type in
616
611
// non-const environments.
@@ -631,8 +626,6 @@ where
631
626
return Err ( NoSolution ) ;
632
627
}
633
628
634
- // FIXME: This actually should destructure the `Result` we get from transmutability and
635
- // register candidates. We probably need to register >1 since we may have an OR of ANDs.
636
629
ecx. probe_builtin_trait_candidate ( BuiltinImplSource :: Misc ) . enter ( |ecx| {
637
630
let certainty = ecx. is_transmutable (
638
631
goal. param_env ,
0 commit comments