Trait rustc::lint::context::LintPassObject [−][src]
pub trait LintPassObject: Sized { fn take_passes(store: &mut LintStore) -> Option<Vec<Self>>; fn restore_passes(store: &mut LintStore, passes: Option<Vec<Self>>); }
🔬 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 take_passes(store: &mut LintStore) -> Option<Vec<Self>>
🔬 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 restore_passes(store: &mut LintStore, passes: Option<Vec<Self>>)
🔬 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?
Implementors
impl LintPassObject for EarlyLintPassObject
impl LintPassObject for LateLintPassObject