1 #![deny(clippy::internal)]
2 #![feature(rustc_private)]
6 use rustc::lint::{LintArray, LintPass};
12 report_in_external_macro: true
16 pub clippy::TEST_LINT_REGISTERED,
19 report_in_external_macro: true
23 pub clippy::TEST_LINT_REGISTERED_ONLY_IMPL,
26 report_in_external_macro: true
30 impl LintPass for Pass {
31 fn name(&self) -> &'static str {
36 declare_lint_pass!(Pass2 => [TEST_LINT_REGISTERED]);
39 impl_lint_pass!(Pass3 => [TEST_LINT_REGISTERED_ONLY_IMPL]);