1 #![deny(clippy::internal)]
2 #![allow(clippy::missing_clippy_version_attribute)]
3 #![feature(rustc_private)]
6 extern crate rustc_middle;
8 extern crate rustc_session;
9 extern crate rustc_lint;
12 pub clippy::TEST_LINT,
15 report_in_external_macro: true
19 pub clippy::TEST_LINT_DEFAULT,
21 "default lint description",
22 report_in_external_macro: true
25 declare_lint_pass!(Pass => [TEST_LINT]);
26 declare_lint_pass!(Pass2 => [TEST_LINT_DEFAULT]);