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 Lints
which are used by other parts of the compiler.
Trait Implementations
impl Copy for SoftLints[src]
impl Copy for SoftLintsimpl Clone for SoftLints[src]
impl Clone for SoftLintsfn clone(&self) -> SoftLints[src]
fn clone(&self) -> SoftLintsReturns 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 SoftLintsfn 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