Struct rustc::lint::BufferedEarlyLint
[−]
[src]
pub struct BufferedEarlyLint {
pub lint_id: LintId,
pub ast_id: NodeId,
pub span: MultiSpan,
pub msg: 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?
Lints that are buffered up early on in the Session before the
LintLevels is calculated
Fields
lint_id: LintId
🔬 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?
ast_id: NodeId
🔬 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?
span: MultiSpan
🔬 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?
msg: 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?
Trait Implementations
impl PartialEq for BufferedEarlyLint[src]
fn eq(&self, __arg_0: &BufferedEarlyLint) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &BufferedEarlyLint) -> bool[src]
This method tests for !=.
impl Encodable for BufferedEarlyLint[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>[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?
impl Decodable for BufferedEarlyLint[src]
fn decode<__D: Decoder>(
__arg_0: &mut __D
) -> Result<BufferedEarlyLint, __D::Error>[src]
__arg_0: &mut __D
) -> Result<BufferedEarlyLint, __D::Error>
🔬 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?