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;
41
41
extern crate rustc_trait_selection;
42
42
extern crate rustc_typeck;
43
43
44
+ #[ macro_use]
45
+ extern crate clippy_utils;
46
+
44
47
use clippy_utils:: parse_msrv;
45
48
use rustc_data_structures:: fx:: FxHashSet ;
46
49
use rustc_lint:: LintId ;
@@ -145,25 +148,10 @@ macro_rules! declare_clippy_lint {
145
148
} ;
146
149
}
147
150
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
-
162
151
mod consts;
163
- #[ macro_use]
164
- mod utils;
165
152
#[ cfg( feature = "metadata-collector-lint" ) ]
166
153
mod deprecated_lints;
154
+ mod utils;
167
155
168
156
// begin lints modules, do not remove this comment, it’s used in `update_lints`
169
157
mod absurd_extreme_comparisons;
You can’t perform that action at this time.
0 commit comments