rustc_trait_selection::solve::select

Function to_selection

Source
fn to_selection<'tcx>(
    span: Span,
    cand: InspectCandidate<'_, 'tcx>,
) -> Option<Selection<'tcx>>