We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8808e0 commit 24a77c5Copy full SHA for 24a77c5
compiler/rustc_trait_selection/src/traits/mod.rs
@@ -221,7 +221,7 @@ fn pred_known_to_hold_modulo_regions<'tcx>(
221
222
if result.must_apply_modulo_regions() {
223
true
224
- } else if result.may_apply() {
+ } else if result.may_apply() && !infcx.next_trait_solver() {
225
// Sometimes obligations are ambiguous because the recursive evaluator
226
// is not smart enough, so we fall back to fulfillment when we're not certain
227
// that an obligation holds or not. Even still, we must make sure that
0 commit comments