fn associated_items_for_impl_trait_in_trait(
tcx: TyCtxt<'_>,
fn_def_id: DefId
) -> &[DefId]Expand description
Given an fn_def_id of a trait or of an impl that implements a given trait:
if fn_def_id is the def id of a function defined inside a trait, then it creates and returns
the associated items that correspond to each impl trait in return position for that trait.
if fn_def_id is the def id of a function defined inside an impl that implements a trait, then it
creates and returns the associated items that correspond to each impl trait in return position
of the implemented trait.