rustc_trait_selection::infer::canonical::ir::outlives

Function compute_alias_components_recursive

Source
pub fn compute_alias_components_recursive<I>(
    cx: I,
    alias_ty: <I as Interner>::Ty,
    out: &mut SmallVec<[Component<I>; 4]>,
)
where I: Interner,
Expand description

Collect Components for all the args of parent.

This should not be used to get the components of parent itself. Use push_outlives_components instead.