Enum rustc_lint::builtin::BuiltinLintDiagnostics [−][src]
pub enum BuiltinLintDiagnostics {
Normal,
BareTraitObject(Span, bool),
AbsPathWithModule(Span),
DuplicatedMacroExports(Ident, Span, Span),
ProcMacroDeriveResolutionFallback(Span),
ElidedLifetimesInPaths(usize, Span, bool, Span, 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?
Variants
Normal🔬 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?
BareTraitObject(Span, bool)🔬 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?
AbsPathWithModule(Span)🔬 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?
DuplicatedMacroExports(Ident, Span, Span)🔬 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?
ProcMacroDeriveResolutionFallback(Span)🔬 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?
ElidedLifetimesInPaths(usize, Span, bool, Span, 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?
Methods
impl BuiltinLintDiagnostics[src]
impl BuiltinLintDiagnosticspub fn run(self, sess: &Session, db: &mut DiagnosticBuilder)[src]
pub fn run(self, sess: &Session, db: &mut DiagnosticBuilder)🔬 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 Encodable for BuiltinLintDiagnostics[src]
impl Encodable for BuiltinLintDiagnosticsfn encode<__S>(&self, s: &mut __S) -> Result<(), <__S as Encoder>::Error> where
__S: Encoder, [src]
fn encode<__S>(&self, s: &mut __S) -> Result<(), <__S as Encoder>::Error> where
__S: Encoder, 🔬 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 BuiltinLintDiagnostics[src]
impl Debug for BuiltinLintDiagnosticsfn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Decodable for BuiltinLintDiagnostics[src]
impl Decodable for BuiltinLintDiagnosticsfn decode<__D>(
d: &mut __D
) -> Result<BuiltinLintDiagnostics, <__D as Decoder>::Error> where
__D: Decoder, [src]
fn decode<__D>(
d: &mut __D
) -> Result<BuiltinLintDiagnostics, <__D as Decoder>::Error> where
__D: Decoder, 🔬 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 PartialEq<BuiltinLintDiagnostics> for BuiltinLintDiagnostics[src]
impl PartialEq<BuiltinLintDiagnostics> for BuiltinLintDiagnosticsfn eq(&self, other: &BuiltinLintDiagnostics) -> bool[src]
fn eq(&self, other: &BuiltinLintDiagnostics) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &BuiltinLintDiagnostics) -> bool[src]
fn ne(&self, other: &BuiltinLintDiagnostics) -> boolThis method tests for !=.
Auto Trait Implementations
impl !Send for BuiltinLintDiagnostics
impl !Send for BuiltinLintDiagnosticsimpl !Sync for BuiltinLintDiagnostics
impl !Sync for BuiltinLintDiagnostics