Function rustc_resolve::import_candidate_to_paths[][src]

fn import_candidate_to_paths(
    suggestion: &ImportSuggestion
) -> (Span, String, String)
🔬 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?

Get the path for an enum and the variant from an ImportSuggestion for an enum variant.