@@ -2,43 +2,72 @@ error: unused extern crate
22 --> $DIR/unnecessary-extern-crate.rs:6:1
33 |
44LL | extern crate core;
5- | ^^^^^^^^^^^^^^^^^^ help: remove it
5+ | ^^^^^^^^^^^^^^^^^^ unused
66 |
77note: the lint level is defined here
88 --> $DIR/unnecessary-extern-crate.rs:3:9
99 |
1010LL | #![deny(unused_extern_crates)]
1111 | ^^^^^^^^^^^^^^^^^^^^
12+ help: remove the unused `extern crate`
13+ |
14+ LL - extern crate core;
15+ |
1216
1317error: unused extern crate
1418 --> $DIR/unnecessary-extern-crate.rs:9:1
1519 |
1620LL | extern crate core as x;
17- | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove it
21+ | ^^^^^^^^^^^^^^^^^^^^^^^ unused
22+ |
23+ help: remove the unused `extern crate`
24+ |
25+ LL - extern crate core as x;
26+ |
1827
1928error: unused extern crate
2029 --> $DIR/unnecessary-extern-crate.rs:31:5
2130 |
2231LL | extern crate core;
23- | ^^^^^^^^^^^^^^^^^^ help: remove it
32+ | ^^^^^^^^^^^^^^^^^^ unused
33+ |
34+ help: remove the unused `extern crate`
35+ |
36+ LL - extern crate core;
37+ |
2438
2539error: unused extern crate
2640 --> $DIR/unnecessary-extern-crate.rs:35:5
2741 |
2842LL | extern crate core as x;
29- | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove it
43+ | ^^^^^^^^^^^^^^^^^^^^^^^ unused
44+ |
45+ help: remove the unused `extern crate`
46+ |
47+ LL - extern crate core as x;
48+ |
3049
3150error: unused extern crate
3251 --> $DIR/unnecessary-extern-crate.rs:44:9
3352 |
3453LL | extern crate core;
35- | ^^^^^^^^^^^^^^^^^^ help: remove it
54+ | ^^^^^^^^^^^^^^^^^^ unused
55+ |
56+ help: remove the unused `extern crate`
57+ |
58+ LL - extern crate core;
59+ |
3660
3761error: unused extern crate
3862 --> $DIR/unnecessary-extern-crate.rs:48:9
3963 |
4064LL | extern crate core as x;
41- | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove it
65+ | ^^^^^^^^^^^^^^^^^^^^^^^ unused
66+ |
67+ help: remove the unused `extern crate`
68+ |
69+ LL - extern crate core as x;
70+ |
4271
4372error: aborting due to 6 previous errors
4473
0 commit comments