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.
2 parents 5e61a07 + 19e7095 commit 52db1e9Copy full SHA for 52db1e9
compiler/rustc_middle/src/ty/normalize_erasing_regions.rs
@@ -27,6 +27,7 @@ impl<'tcx> TyCtxt<'tcx> {
27
value,
28
param_env,
29
);
30
+ debug_assert_eq!(param_env.reveal(), ty::Reveal::All);
31
32
// Erase first before we do the real query -- this keeps the
33
// cache from being too polluted.
0 commit comments