Enum rustc::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 LintSource
fn assert_receiver_is_total_eq(&self)
impl PartialEq for LintSource
fn eq(&self, __arg_0: &LintSource) -> bool
fn ne(&self, __arg_0: &LintSource) -> bool
impl Copy for LintSource
impl Clone for LintSource
fn clone(&self) -> LintSource
fn 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
).