]> git.lizzy.rs Git - rust.git/blob - src/test/ui/imports/extern-crate-used.stderr
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[rust.git] / src / test / ui / imports / extern-crate-used.stderr
1 error: `extern crate` is not idiomatic in the new edition
2   --> $DIR/extern-crate-used.rs:8:1
3    |
4 LL | extern crate core as iso1; //~ ERROR `extern crate` is not idiomatic in the new edition
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use`
6    |
7 note: lint level defined here
8   --> $DIR/extern-crate-used.rs:6:9
9    |
10 LL | #![deny(unused_extern_crates)]
11    |         ^^^^^^^^^^^^^^^^^^^^
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; //~ ERROR `extern crate` is not idiomatic in the new edition
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; //~ ERROR `extern crate` is not idiomatic in the new edition
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; //~ ERROR `extern crate` is not idiomatic in the new edition
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; //~ ERROR unused extern crate
35    | ^^^^^^^^^^^^^^^^^^ help: remove it
36
37 error: aborting due to 5 previous errors
38