Don't use reempty as an implicit_outlives_region
This commit is contained in:
parent
1120c5e01d
commit
cc87d53da9
@ -386,7 +386,7 @@ pub fn report_region_errors(
|
||||
RegionResolutionError::UpperBoundUniverseConflict(
|
||||
_,
|
||||
_,
|
||||
var_universe,
|
||||
_,
|
||||
sup_origin,
|
||||
sup_r,
|
||||
) => {
|
||||
@ -397,7 +397,7 @@ pub fn report_region_errors(
|
||||
// placeholder. In practice, we expect more
|
||||
// tailored errors that don't really use this
|
||||
// value.
|
||||
let sub_r = self.tcx.mk_region(ty::ReEmpty(var_universe));
|
||||
let sub_r = self.tcx.lifetimes.re_erased;
|
||||
|
||||
self.report_placeholder_failure(sup_origin, sub_r, sup_r).emit();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user