Enum rustc_lint::context::TargetLint [−][src]
Expand description
The target of the by_name map, which accounts for renaming/deprecation.
Variants
Id(LintId)A direct lint target
Temporary renaming, used for easing migration pain; see #16545
Removed(String)Lint with this name existed previously, but has been removed/deprecated. The string argument is the reason for removal.
A lint name that should give no warnings and have no effect.
This is used by rustc to avoid warning about old rustdoc lints before rustdoc registers them as tool lints.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TargetLintimpl Send for TargetLintimpl Sync for TargetLintimpl Unpin for TargetLintimpl UnwindSafe for TargetLintBlanket Implementations
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 40 bytes