pub(crate) fn region_outlives_implied<'tcx>(
tcx: TyCtxt<'tcx>,
src_region: Region<'tcx>,
self_ty: Ty<'tcx>,
demand: Region<'tcx>,
) -> boolExpand description
Whether src_region provably outlives demand via the well-formedness of a
reference parameter &'r Self<'a>: the reference requires its pointee’s
regions to outlive 'r ('a: 'r), which the where-clause-only
region_outlives cannot see. This holds when demand is exactly the
reference’s own region 'r and src_region is one of the pointee’s outlives
components.