Remove in_band_lifetimes from rustc_const_eval

See #91867 for more information.
This commit is contained in:
LegionMammal978 2021-12-13 22:34:51 -05:00
parent 8f117a77d0
commit a19eaf3542
17 changed files with 123 additions and 83 deletions

View file

@ -66,7 +66,7 @@ impl<'tcx> MirPass<'tcx> for Validator {
///
/// The point of this function is to approximate "equal up to subtyping". However,
/// the approximation is incorrect as variance is ignored.
pub fn equal_up_to_regions(
pub fn equal_up_to_regions<'tcx>(
tcx: TyCtxt<'tcx>,
param_env: ParamEnv<'tcx>,
src: Ty<'tcx>,