Skip to content

Commit c5b9d22

Browse files
committed
Update clippy_utils/src/lib.rs
1 parent 8d2de8f commit c5b9d22

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

clippy_utils/src/lib.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,18 @@
1111
#![feature(stmt_expr_attributes)]
1212
#![feature(control_flow_enum)]
1313

14+
// FIXME: switch to something more ergonomic here, once available.
15+
// (Currently there is no way to opt into sysroot crates without `extern crate`.)
1416
extern crate rustc_ast;
1517
extern crate rustc_ast_pretty;
16-
extern crate rustc_attr;
1718
extern crate rustc_data_structures;
18-
extern crate rustc_driver;
1919
extern crate rustc_errors;
2020
extern crate rustc_hir;
2121
extern crate rustc_hir_pretty;
22-
extern crate rustc_index;
2322
extern crate rustc_infer;
24-
extern crate rustc_lexer;
2523
extern crate rustc_lint;
2624
extern crate rustc_middle;
2725
extern crate rustc_mir;
28-
extern crate rustc_parse;
29-
extern crate rustc_parse_format;
3026
extern crate rustc_session;
3127
extern crate rustc_span;
3228
extern crate rustc_target;

0 commit comments

Comments
 (0)