summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/unused/lint-unused-extern-crate.stderr
blob: 46d8f3beeab4255b12653705fb06e1e2bff8a400 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
error: unused extern crate
  --> $DIR/lint-unused-extern-crate.rs:11:1
   |
LL | extern crate lint_unused_extern_crate5;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove it
   |
note: the lint level is defined here
  --> $DIR/lint-unused-extern-crate.rs:7:9
   |
LL | #![deny(unused_extern_crates)]
   |         ^^^^^^^^^^^^^^^^^^^^

error: unused extern crate
  --> $DIR/lint-unused-extern-crate.rs:29:5
   |
LL |     extern crate lint_unused_extern_crate2;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove it

error: aborting due to 2 previous errors