rustc::lint::lint_array![src]
macro_rules! lint_array ( ($( $lint:expr ),*) => ( { static array: LintArray = &[ $( $lint ),* ]; array } ))
Declare a static LintArray and return it as an expression.
macro_rules! lint_array ( ($( $lint:expr ),*) => ( { static array: LintArray = &[ $( $lint ),* ]; array } ))
Declare a static LintArray and return it as an expression.
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 (or str), enum,
trait, typedef (or
tdef).