Enum rustc_lint::builtin::BuiltinLintDiagnostics [−][src]
pub enum BuiltinLintDiagnostics { Normal, BareTraitObject(Span, bool), AbsPathWithModule(Span), 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?
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?
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<BuiltinLintDiagnostics> for BuiltinLintDiagnostics
[src]
impl PartialEq<BuiltinLintDiagnostics> 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 Debug for BuiltinLintDiagnostics
[src]
impl Debug for BuiltinLintDiagnostics
fn 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 Encodable for BuiltinLintDiagnostics
[src]
impl Encodable for BuiltinLintDiagnostics
fn 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 Decodable for BuiltinLintDiagnostics
[src]
impl Decodable for BuiltinLintDiagnostics
fn 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?
Auto Trait Implementations
impl !Send for BuiltinLintDiagnostics
impl !Send for BuiltinLintDiagnostics
impl !Sync for BuiltinLintDiagnostics
impl !Sync for BuiltinLintDiagnostics