@@ -1913,8 +1913,7 @@ impl<'a, 'tcx> ProbeContext<'a, 'tcx> {
1913
1913
ty:: Binder :: dummy ( trait_ref) ,
1914
1914
) ;
1915
1915
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.
1918
1917
if self . infcx . next_trait_solver ( ) || self . infcx . predicate_may_hold ( & obligation)
1919
1918
{
1920
1919
ocx. register_obligation ( obligation) ;
@@ -1955,17 +1954,17 @@ impl<'a, 'tcx> ProbeContext<'a, 'tcx> {
1955
1954
}
1956
1955
}
1957
1956
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>.
1960
1958
//
1961
1959
// In the new solver, check the well-formedness of the return type.
1962
1960
// This emulates, in a way, the predicates that fall out of
1963
1961
// normalizing the return type in the old solver.
1964
1962
//
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.
1969
1968
if let Some ( xform_ret_ty) = xform_ret_ty
1970
1969
&& self . infcx . next_trait_solver ( )
1971
1970
{
0 commit comments