fn opaque_captures_all_in_scope_lifetimes<'tcx>(
tcx: TyCtxt<'tcx>,
opaque: &'tcx OpaqueTy<'tcx>,
) -> boolExpand description
Whether this opaque always captures lifetimes in scope.
Right now, this is all RPITIT and TAITs, and when lifetime_capture_rules_2024
is enabled. We don’t check the span of the edition, since this is done
on a per-opaque basis to account for nested opaques.