rm `try_normalize_mir_const_after_erasing_regions`

This commit is contained in:
lcnr 2022-09-29 12:39:35 +02:00
parent e8150fa60c
commit face090ef1
2 changed files with 0 additions and 11 deletions

View File

@ -1871,14 +1871,6 @@ rustc_queries! {
remap_env_constness remap_env_constness
} }
/// Do not call this query directly: invoke `try_normalize_erasing_regions` instead.
query try_normalize_mir_const_after_erasing_regions(
goal: ParamEnvAnd<'tcx, mir::ConstantKind<'tcx>>
) -> Result<mir::ConstantKind<'tcx>, NoSolution> {
desc { "normalizing `{}`", goal.value }
remap_env_constness
}
query implied_outlives_bounds( query implied_outlives_bounds(
goal: CanonicalTyGoal<'tcx> goal: CanonicalTyGoal<'tcx>
) -> Result< ) -> Result<

View File

@ -18,9 +18,6 @@ pub(crate) fn provide(p: &mut Providers) {
try_normalize_after_erasing_regions(tcx, goal) try_normalize_after_erasing_regions(tcx, goal)
}, },
try_normalize_mir_const_after_erasing_regions: |tcx, goal| {
try_normalize_after_erasing_regions(tcx, goal)
},
..*p ..*p
}; };
} }