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 5a374dc commit 3146c96Copy full SHA for 3146c96
compiler/rustc_borrowck/src/type_check/mod.rs
@@ -262,10 +262,6 @@ pub(crate) fn type_check<'mir, 'tcx>(
262
}
263
})
264
.collect();
265
- // `hidden_type` may re-register an opaque type, so we need to clean out the
266
- // newly re-added types. Either we got here successfully, so they are irrelevant,
267
- // or we already errored anyway.
268
- let _ = infcx.inner.borrow_mut().opaque_type_storage.take_opaque_types();
269
opaque_type_values
270
},
271
);
0 commit comments