File tree Expand file tree Collapse file tree 1 file changed +4
-16
lines changed Expand file tree Collapse file tree 1 file changed +4
-16
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,9 @@ extern crate rustc_target;
4141extern crate rustc_trait_selection;
4242extern crate rustc_typeck;
4343
44+ #[ macro_use]
45+ extern crate clippy_utils;
46+
4447use clippy_utils:: parse_msrv;
4548use rustc_data_structures:: fx:: FxHashSet ;
4649use rustc_lint:: LintId ;
@@ -145,25 +148,10 @@ macro_rules! declare_clippy_lint {
145148 } ;
146149}
147150
148- #[ macro_export]
149- macro_rules! sym {
150- ( $( $x: tt) * ) => { clippy_utils:: sym!( $( $x) * ) }
151- }
152-
153- #[ macro_export]
154- macro_rules! unwrap_cargo_metadata {
155- ( $( $x: tt) * ) => { clippy_utils:: unwrap_cargo_metadata!( $( $x) * ) }
156- }
157-
158- macro_rules! extract_msrv_attr {
159- ( $( $x: tt) * ) => { clippy_utils:: extract_msrv_attr!( $( $x) * ) ; }
160- }
161-
162151mod consts;
163- #[ macro_use]
164- mod utils;
165152#[ cfg( feature = "metadata-collector-lint" ) ]
166153mod deprecated_lints;
154+ mod utils;
167155
168156// begin lints modules, do not remove this comment, it’s used in `update_lints`
169157mod absurd_extreme_comparisons;
You can’t perform that action at this time.
0 commit comments