|
1 | | -error: `extern crate` is not idiomatic in the new edition |
2 | | - --> $DIR/extern-crate-used.rs:8:1 |
| 1 | +error: unused extern crate |
| 2 | + --> $DIR/extern-crate-used.rs:18:1 |
3 | 3 | | |
4 | | -LL | extern crate core as iso1; |
5 | | - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use` |
| 4 | +LL | extern crate core; |
| 5 | + | ^^^^^^^^^^^^^^^^^^ help: remove it |
6 | 6 | | |
7 | 7 | note: lint level defined here |
8 | 8 | --> $DIR/extern-crate-used.rs:6:9 |
9 | 9 | | |
10 | 10 | LL | #![deny(unused_extern_crates)] |
11 | 11 | | ^^^^^^^^^^^^^^^^^^^^ |
12 | 12 |
|
13 | | -error: `extern crate` is not idiomatic in the new edition |
14 | | - --> $DIR/extern-crate-used.rs:9:1 |
15 | | - | |
16 | | -LL | extern crate core as iso2; |
17 | | - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use` |
18 | | - |
19 | | -error: `extern crate` is not idiomatic in the new edition |
20 | | - --> $DIR/extern-crate-used.rs:10:1 |
21 | | - | |
22 | | -LL | extern crate core as iso3; |
23 | | - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use` |
24 | | - |
25 | | -error: `extern crate` is not idiomatic in the new edition |
26 | | - --> $DIR/extern-crate-used.rs:11:1 |
27 | | - | |
28 | | -LL | extern crate core as iso4; |
29 | | - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use` |
30 | | - |
31 | | -error: unused extern crate |
32 | | - --> $DIR/extern-crate-used.rs:14:1 |
33 | | - | |
34 | | -LL | extern crate core; |
35 | | - | ^^^^^^^^^^^^^^^^^^ help: remove it |
36 | | - |
37 | | -error: aborting due to 5 previous errors |
| 13 | +error: aborting due to previous error |
38 | 14 |
|
0 commit comments