rm try_normalize_mir_const_after_erasing_regions
This commit is contained in:
parent
e8150fa60c
commit
face090ef1
@ -1871,14 +1871,6 @@
|
|||||||
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<
|
||||||
|
@ -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
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user