Struct rustc::lint::LintBuffer
[−]
[src]
pub struct LintBuffer { /* fields omitted */ }
🔬 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?
Methods
impl LintBuffer
[src]
pub fn new() -> LintBuffer
[src]
🔬 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?
pub fn add_lint(
&mut self,
lint: &'static Lint,
id: NodeId,
sp: MultiSpan,
msg: &str
)
[src]
&mut self,
lint: &'static Lint,
id: NodeId,
sp: MultiSpan,
msg: &str
)
🔬 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?
pub fn take(&mut self, id: NodeId) -> Vec<BufferedEarlyLint>
[src]
🔬 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?
pub fn get_any(&self) -> Option<&[BufferedEarlyLint]>
[src]
🔬 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?