[][src]Function rustc_resolve::show_candidates

fn show_candidates(
    err: &mut DiagnosticBuilder,
    span: Option<Span>,
    candidates: &[ImportSuggestion],
    better: bool,
    found_use: bool
)
🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

When an entity with a given name is not available in scope, we search for entities with that name in all crates. This method allows outputting the results of this search in a programmer-friendly way