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