|
1 | 1 | error: `extern crate` is unnecessary in the new edition |
2 | | - --> $DIR/unnecessary-extern-crate.rs:14:1 |
| 2 | + --> $DIR/unnecessary-extern-crate.rs:16:1 |
3 | 3 | | |
4 | 4 | LL | extern crate alloc; |
5 | 5 | | ^^^^^^^^^^^^^^^^^^^ help: remove it |
6 | 6 | | |
7 | 7 | note: lint level defined here |
8 | | - --> $DIR/unnecessary-extern-crate.rs:11:9 |
| 8 | + --> $DIR/unnecessary-extern-crate.rs:13:9 |
9 | 9 | | |
10 | 10 | LL | #![deny(unnecessary_extern_crate)] |
11 | 11 | | ^^^^^^^^^^^^^^^^^^^^^^^^ |
12 | 12 |
|
13 | 13 | error: `extern crate` is unnecessary in the new edition |
14 | | - --> $DIR/unnecessary-extern-crate.rs:17:1 |
| 14 | + --> $DIR/unnecessary-extern-crate.rs:19:1 |
15 | 15 | | |
16 | 16 | LL | extern crate alloc as x; |
17 | 17 | | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `use`: `use alloc as x` |
18 | 18 |
|
19 | 19 | error: `extern crate` is unnecessary in the new edition |
20 | | - --> $DIR/unnecessary-extern-crate.rs:23:1 |
| 20 | + --> $DIR/unnecessary-extern-crate.rs:25:1 |
21 | 21 | | |
22 | 22 | LL | pub extern crate test as y; |
23 | 23 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `pub use`: `pub use test as y` |
24 | 24 |
|
25 | 25 | error: `extern crate` is unnecessary in the new edition |
26 | | - --> $DIR/unnecessary-extern-crate.rs:26:1 |
| 26 | + --> $DIR/unnecessary-extern-crate.rs:28:1 |
27 | 27 | | |
28 | 28 | LL | pub extern crate libc; |
29 | 29 | | ^^^^^^^^^^^^^^^^^^^^^^ help: use `pub use`: `pub use libc` |
30 | 30 |
|
31 | 31 | error: `extern crate` is unnecessary in the new edition |
32 | | - --> $DIR/unnecessary-extern-crate.rs:32:5 |
| 32 | + --> $DIR/unnecessary-extern-crate.rs:34:5 |
33 | 33 | | |
34 | 34 | LL | extern crate alloc; |
35 | 35 | | ^^^^^^^^^^^^^^^^^^^ help: use `use`: `use alloc` |
36 | 36 |
|
37 | 37 | error: `extern crate` is unnecessary in the new edition |
38 | | - --> $DIR/unnecessary-extern-crate.rs:35:5 |
| 38 | + --> $DIR/unnecessary-extern-crate.rs:37:5 |
39 | 39 | | |
40 | 40 | LL | extern crate alloc as x; |
41 | 41 | | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `use`: `use alloc as x` |
42 | 42 |
|
43 | 43 | error: `extern crate` is unnecessary in the new edition |
44 | | - --> $DIR/unnecessary-extern-crate.rs:38:5 |
| 44 | + --> $DIR/unnecessary-extern-crate.rs:40:5 |
45 | 45 | | |
46 | 46 | LL | pub extern crate test; |
47 | 47 | | ^^^^^^^^^^^^^^^^^^^^^^ help: use `pub use`: `pub use test` |
48 | 48 |
|
49 | 49 | error: `extern crate` is unnecessary in the new edition |
50 | | - --> $DIR/unnecessary-extern-crate.rs:41:5 |
| 50 | + --> $DIR/unnecessary-extern-crate.rs:43:5 |
51 | 51 | | |
52 | 52 | LL | pub extern crate test as y; |
53 | 53 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `pub use`: `pub use test as y` |
54 | 54 |
|
55 | 55 | error: `extern crate` is unnecessary in the new edition |
56 | | - --> $DIR/unnecessary-extern-crate.rs:45:9 |
| 56 | + --> $DIR/unnecessary-extern-crate.rs:47:9 |
57 | 57 | | |
58 | 58 | LL | extern crate alloc; |
59 | 59 | | ^^^^^^^^^^^^^^^^^^^ help: use `use`: `use alloc` |
60 | 60 |
|
61 | 61 | error: `extern crate` is unnecessary in the new edition |
62 | | - --> $DIR/unnecessary-extern-crate.rs:48:9 |
| 62 | + --> $DIR/unnecessary-extern-crate.rs:50:9 |
63 | 63 | | |
64 | 64 | LL | extern crate alloc as x; |
65 | 65 | | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `use`: `use alloc as x` |
|
0 commit comments