Skip to content

Commit 1600305

Browse files
committed
Remove unused allowed unused attributes
1 parent 4cc2fa9 commit 1600305

File tree

2 files changed

+0
-26
lines changed

2 files changed

+0
-26
lines changed

clippy_lints/src/lib.rs

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -17,47 +17,25 @@
1717

1818
// FIXME: switch to something more ergonomic here, once available.
1919
// (Currently there is no way to opt into sysroot crates without `extern crate`.)
20-
#[allow(unused_extern_crates)]
2120
extern crate rustc_ast;
22-
#[allow(unused_extern_crates)]
2321
extern crate rustc_ast_pretty;
24-
#[allow(unused_extern_crates)]
2522
extern crate rustc_attr;
26-
#[allow(unused_extern_crates)]
2723
extern crate rustc_data_structures;
28-
#[allow(unused_extern_crates)]
29-
extern crate rustc_driver;
30-
#[allow(unused_extern_crates)]
3124
extern crate rustc_errors;
32-
#[allow(unused_extern_crates)]
3325
extern crate rustc_hir;
34-
#[allow(unused_extern_crates)]
3526
extern crate rustc_hir_pretty;
36-
#[allow(unused_extern_crates)]
3727
extern crate rustc_index;
38-
#[allow(unused_extern_crates)]
3928
extern crate rustc_infer;
40-
#[allow(unused_extern_crates)]
4129
extern crate rustc_lexer;
42-
#[allow(unused_extern_crates)]
4330
extern crate rustc_lint;
44-
#[allow(unused_extern_crates)]
4531
extern crate rustc_middle;
46-
#[allow(unused_extern_crates)]
4732
extern crate rustc_mir;
48-
#[allow(unused_extern_crates)]
4933
extern crate rustc_parse;
50-
#[allow(unused_extern_crates)]
5134
extern crate rustc_parse_format;
52-
#[allow(unused_extern_crates)]
5335
extern crate rustc_session;
54-
#[allow(unused_extern_crates)]
5536
extern crate rustc_span;
56-
#[allow(unused_extern_crates)]
5737
extern crate rustc_target;
58-
#[allow(unused_extern_crates)]
5938
extern crate rustc_trait_selection;
60-
#[allow(unused_extern_crates)]
6139
extern crate rustc_typeck;
6240

6341
use rustc_data_structures::fx::FxHashSet;

src/driver.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,9 @@
33

44
// FIXME: switch to something more ergonomic here, once available.
55
// (Currently there is no way to opt into sysroot crates without `extern crate`.)
6-
#[allow(unused_extern_crates)]
76
extern crate rustc_driver;
8-
#[allow(unused_extern_crates)]
97
extern crate rustc_errors;
10-
#[allow(unused_extern_crates)]
118
extern crate rustc_interface;
12-
#[allow(unused_extern_crates)]
139
extern crate rustc_middle;
1410

1511
use rustc_interface::interface;

0 commit comments

Comments
 (0)