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 a922983 commit 1727badCopy full SHA for 1727bad
compiler/rustc_middle/src/ty/context.rs
@@ -679,7 +679,11 @@ impl<'tcx> Interner for TyCtxt<'tcx> {
679
}
680
681
fn stalled_generators_within(self, defining_anchor: Self::LocalDefId) -> Self::LocalDefIds {
682
- self.stalled_generators_within(defining_anchor)
+ if self.next_trait_solver_globally() {
683
+ self.stalled_generators_within(defining_anchor)
684
+ } else {
685
+ ty::List::empty()
686
+ }
687
688
689
0 commit comments