Struct rustc::lint::context::BufferedEarlyLint [−][src]
pub struct BufferedEarlyLint {
pub lint_id: LintId,
pub ast_id: NodeId,
pub span: MultiSpan,
pub msg: String,
pub diagnostic: BuiltinLintDiagnostics,
}🔬 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?
diagnostic: BuiltinLintDiagnostics
🔬 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]
impl PartialEq for BufferedEarlyLintfn eq(&self, other: &BufferedEarlyLint) -> bool[src]
fn eq(&self, other: &BufferedEarlyLint) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &BufferedEarlyLint) -> bool[src]
fn ne(&self, other: &BufferedEarlyLint) -> boolThis method tests for !=.
impl Encodable for BufferedEarlyLint[src]
impl Encodable for BufferedEarlyLintfn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>[src]
fn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::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?
impl Decodable for BufferedEarlyLint[src]
impl Decodable for BufferedEarlyLintfn decode<__D: Decoder>(d: &mut __D) -> Result<BufferedEarlyLint, __D::Error>[src]
fn decode<__D: Decoder>(d: &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?
impl Debug for BufferedEarlyLint[src]
impl Debug for BufferedEarlyLintAuto Trait Implementations
impl !Send for BufferedEarlyLint
impl !Send for BufferedEarlyLintimpl !Sync for BufferedEarlyLint
impl !Sync for BufferedEarlyLint