Function rustc_resolve::diagnostics::import_candidates
source · pub(crate) fn import_candidates(
tcx: TyCtxt<'_>,
err: &mut Diag<'_>,
use_placement_span: Option<Span>,
candidates: &[ImportSuggestion],
mode: DiagMode,
append: &str
)