Enum rustc::lint::context::TargetLint[][src]

enum TargetLint {
    Id(LintId),
    Renamed(StringLintId),
    Removed(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?

The target of the by_name map, which accounts for renaming/deprecation.

Variants

🔬 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?

A direct lint target

🔬 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?

Temporary renaming, used for easing migration pain; see #16545

🔬 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 with this name existed previously, but has been removed/deprecated. The string argument is the reason for removal.

Auto Trait Implementations

impl Send for TargetLint

impl Sync for TargetLint