macro_rules! declare_combined_late_lint_pass {
([$v:vis $name:ident, [$($pass:ident: $constructor:expr,)*]], $methods:tt) => { ... };
}
Expand description
Combines multiple lints passes into a single lint pass, at compile time,
for maximum speed. Each check_foo
method in $methods
within this pass
simply calls check_foo
once per $pass
. Compare with
LateLintPassObjects
, which is similar, but combines lint passes at
runtime.