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