@@ -1913,8 +1913,7 @@ impl<'a, 'tcx> ProbeContext<'a, 'tcx> {
19131913 ty:: Binder :: dummy ( trait_ref) ,
19141914 ) ;
19151915
1916- // FIXME(-Znext-solver): We only need this hack to deal with fatal
1917- // overflow in the old solver.
1916+ // We only need this hack to deal with fatal overflow in the old solver.
19181917 if self . infcx . next_trait_solver ( ) || self . infcx . predicate_may_hold ( & obligation)
19191918 {
19201919 ocx. register_obligation ( obligation) ;
@@ -1955,17 +1954,17 @@ impl<'a, 'tcx> ProbeContext<'a, 'tcx> {
19551954 }
19561955 }
19571956
1958- // FIXME(-Znext-solver): See the linked issue below.
1959- // <https://github.com/rust-lang/trait-system-refactor-initiative/issues/134>
1957+ // See <https://github.com/rust-lang/trait-system-refactor-initiative/issues/134>.
19601958 //
19611959 // In the new solver, check the well-formedness of the return type.
19621960 // This emulates, in a way, the predicates that fall out of
19631961 // normalizing the return type in the old solver.
19641962 //
1965- // We alternatively could check the predicates of the method itself hold,
1966- // but we intentionally do not do this in the old solver b/c of cycles,
1967- // and doing it in the new solver would be stronger. This should be fixed
1968- // in the future, since it likely leads to much better method winnowing.
1963+ // FIXME(-Znext-solver): We alternatively could check the predicates of
1964+ // the method itself hold, but we intentionally do not do this in the old
1965+ // solver b/c of cycles, and doing it in the new solver would be stronger.
1966+ // This should be fixed in the future, since it likely leads to much better
1967+ // method winnowing.
19691968 if let Some ( xform_ret_ty) = xform_ret_ty
19701969 && self . infcx . next_trait_solver ( )
19711970 {
0 commit comments