Enum rustc_lint::lint::LintSourceUnstable
[-] [+]
[src]
pub enum LintSource {
Default,
Node(Span),
CommandLine,
ReleaseChannel,
}How a lint level was set.
pub enum LintSource {
Default,
Node(Span),
CommandLine,
ReleaseChannel,
}How a lint level was set.
impl Eq for LintSourceimpl PartialEq<LintSource> for LintSourcefn eq(&self, __arg_0: &LintSource) -> boolfn ne(&self, __arg_0: &LintSource) -> boolimpl Copy for LintSourceimpl Clone for LintSourcefn clone(&self) -> LintSourcefn clone_from(&mut self, source: &Self)
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct, enum,
trait, typedef (or
tdef).