We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Reveal::All
normalize_erasing_regions
1 parent 6b8b396 commit 19e7095Copy full SHA for 19e7095
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