summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/unnecessary-extern-crate.stderr
blob: 14ba9d052f4250a0719e43754468211ec27e4e0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
error: unused extern crate
  --> $DIR/unnecessary-extern-crate.rs:6:1
   |
LL | extern crate libc;
   | ^^^^^^^^^^^^^^^^^^ help: remove it
   |
note: the lint level is defined here
  --> $DIR/unnecessary-extern-crate.rs:3:9
   |
LL | #![deny(unused_extern_crates)]
   |         ^^^^^^^^^^^^^^^^^^^^

error: unused extern crate
  --> $DIR/unnecessary-extern-crate.rs:9:1
   |
LL | extern crate libc as x;
   | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove it

error: unused extern crate
  --> $DIR/unnecessary-extern-crate.rs:31:5
   |
LL |     extern crate libc;
   |     ^^^^^^^^^^^^^^^^^^ help: remove it

error: unused extern crate
  --> $DIR/unnecessary-extern-crate.rs:35:5
   |
LL |     extern crate libc as x;
   |     ^^^^^^^^^^^^^^^^^^^^^^^ help: remove it

error: unused extern crate
  --> $DIR/unnecessary-extern-crate.rs:44:9
   |
LL |         extern crate libc;
   |         ^^^^^^^^^^^^^^^^^^ help: remove it

error: unused extern crate
  --> $DIR/unnecessary-extern-crate.rs:48:9
   |
LL |         extern crate libc as x;
   |         ^^^^^^^^^^^^^^^^^^^^^^^ help: remove it

error: aborting due to 6 previous errors