Function rustc_infer::infer::outlives::components::compute_components_recursive
source · [−]pub(super) fn compute_components_recursive<'tcx>(
tcx: TyCtxt<'tcx>,
parent: GenericArg<'tcx>,
out: &mut SmallVec<[Component<'tcx>; 4]>,
visited: &mut SsoHashSet<GenericArg<'tcx>>
)
Expand description
Collect Components for all the substs of parent
.
This should not be used to get the components of parent
itself.
Use push_outlives_components instead.