Trait rustc::middle::cstore::CrateLoader
[−]
[src]
pub trait CrateLoader {
fn process_item(&mut self, item: &Item, defs: &Definitions);
fn postprocess(&mut self, krate: &Crate);
fn resolve_crate_from_path(&mut self, name: Symbol, span: Span) -> CrateNum;
}🔬 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?
Required Methods
fn process_item(&mut self, item: &Item, defs: &Definitions)
🔬 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?
fn postprocess(&mut self, krate: &Crate)
🔬 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?
fn resolve_crate_from_path(&mut self, name: Symbol, span: Span) -> CrateNum
🔬 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?