pub(crate) fn trait_impl_candidates(
tcx: TyCtxt<'_>,
method_def_id: DefId,
) -> Vec<DefId>Expand description
Enumerate the concrete impl methods that could be dispatched for a trait
method (the set of targets behind a trait-object / virtual call). Each
returned DefId is an impl’s override of method_def_id.