parent
c40919b7a7
commit
30cf7a3f51
51 changed files with 208 additions and 211 deletions
|
@ -792,7 +792,7 @@ pub(super) fn collect_return_position_impl_trait_in_trait_tys<'tcx>(
|
|||
return_span,
|
||||
"expected ReFree to map to ReEarlyBound"
|
||||
);
|
||||
return tcx.lifetimes.re_static;
|
||||
return tcx.lifetimes.re_error;
|
||||
};
|
||||
tcx.mk_region(ty::ReEarlyBound(ty::EarlyBoundRegion {
|
||||
def_id: e.def_id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue