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 BuiltinLintDiagnostics
pub 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 PartialEq for BuiltinLintDiagnostics
[src]
impl PartialEq for BuiltinLintDiagnostics
fn eq(&self, other: &BuiltinLintDiagnostics) -> bool
[src]
fn eq(&self, other: &BuiltinLintDiagnostics) -> bool
This 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) -> bool
This method tests for !=
.
impl Encodable for BuiltinLintDiagnostics
[src]
impl Encodable for BuiltinLintDiagnostics
fn 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 BuiltinLintDiagnostics
[src]
impl Decodable for BuiltinLintDiagnostics
fn decode<__D: Decoder>(
d: &mut __D
) -> Result<BuiltinLintDiagnostics, __D::Error>
[src]
fn decode<__D: Decoder>(
d: &mut __D
) -> Result<BuiltinLintDiagnostics, __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 BuiltinLintDiagnostics
[src]
impl Debug for BuiltinLintDiagnostics
Auto Trait Implementations
impl !Send for BuiltinLintDiagnostics
impl !Send for BuiltinLintDiagnostics
impl !Sync for BuiltinLintDiagnostics
impl !Sync for BuiltinLintDiagnostics