Enum rustc::lint::LintSource [−][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?
How a lint level was set.
Variants
Default🔬 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?
Lint is at the default level as declared in rustc or a plugin.
Node(Name, 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?
Lint level was set by an attribute.
CommandLine(Symbol)🔬 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?
Lint level was set by a command-line flag.
Trait Implementations
impl Clone for LintSource[src]
impl Clone for LintSourcefn clone(&self) -> LintSource[src]
fn clone(&self) -> LintSourceReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Copy for LintSource[src]
impl Copy for LintSourceimpl PartialEq for LintSource[src]
impl PartialEq for LintSourcefn eq(&self, other: &LintSource) -> bool[src]
fn eq(&self, other: &LintSource) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &LintSource) -> bool[src]
fn ne(&self, other: &LintSource) -> boolThis method tests for !=.
impl Eq for LintSource[src]
impl Eq for LintSourcefn assert_receiver_is_total_eq(&self)[src]
fn assert_receiver_is_total_eq(&self)impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for LintSource[src]
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for LintSourcefn hash_stable<W: StableHasherResult>(
&self,
__ctx: &mut StableHashingContext<'a>,
__hasher: &mut StableHasher<W>
)[src]
fn hash_stable<W: StableHasherResult>(
&self,
__ctx: &mut StableHashingContext<'a>,
__hasher: &mut StableHasher<W>
)🔬 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 LintSource
impl !Send for LintSourceimpl !Sync for LintSource
impl !Sync for LintSource