Enum rustc_typeck::lint::LintSource
[−]
[src]
pub enum LintSource {
Default,
Node(Span),
CommandLine,
ReleaseChannel,
}Unstable
How a lint level was set.
Variants
Default | Unstable Lint is at the default level as declared in rustc or a plugin. |
Node | Unstable Lint level was set by an attribute. |
CommandLine | Unstable Lint level was set by a command-line flag. |
ReleaseChannel | Unstable Lint level was set by the release channel. |