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