We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be153f0 commit d9bb93fCopy full SHA for d9bb93f
compiler/rustc_trait_selection/src/traits/codegen.rs
@@ -90,6 +90,11 @@ pub fn codegen_fulfill_obligation<'tcx>(
90
});
91
let impl_source = drain_fulfillment_cx_or_panic(&infcx, &mut fulfill_cx, impl_source);
92
93
+ // We may constrain the hidden types of opaque types in this query, but this is
94
+ // not information our callers need, as all that information is handled by borrowck
95
+ // and typeck.
96
+ drop(infcx.inner.borrow_mut().opaque_type_storage.take_opaque_types());
97
+
98
debug!("Cache miss: {:?} => {:?}", trait_ref, impl_source);
99
Ok(impl_source)
100
})
0 commit comments