Struct rustc_lint::builtin::SoftLints [−][src]
pub struct SoftLints;
🔬 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?
Does nothing as a lint pass, but registers some Lint
s
which are used by other parts of the compiler.
Trait Implementations
impl Copy for SoftLints
[src]
impl Copy for SoftLints
impl Clone for SoftLints
[src]
impl Clone for SoftLints
fn clone(&self) -> SoftLints
[src]
fn clone(&self) -> SoftLints
Returns 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)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl LintPass for SoftLints
[src]
impl LintPass for SoftLints
fn get_lints(&self) -> LintArray
[src]
fn get_lints(&self) -> LintArray
🔬 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?
Get descriptions of the lints this LintPass
object can emit. Read more