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 8492460 commit 6b34825Copy full SHA for 6b34825
compiler/rustc_trait_selection/src/traits/mod.rs
@@ -448,6 +448,9 @@ pub fn impossible_predicates<'tcx>(
448
449
let errors = fulfill_cx.select_all_or_error(&infcx);
450
451
+ // Clean up after ourselves
452
+ let _ = infcx.inner.borrow_mut().opaque_type_storage.take_opaque_types();
453
+
454
!errors.is_empty()
455
});
456
debug!("impossible_predicates = {:?}", result);
0 commit comments