Function rustc_resolve::resolve_error[][src]

fn resolve_error<'sess, 'a>(
    resolver: &'sess Resolver,
    span: Span,
    resolution_error: ResolutionError<'a>
)
🔬 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?

Combines an error with provided span and emits it

This takes the error provided, combines it with the span and any additional spans inside the error and emits it.