mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
45 lines
1.1 KiB
Plaintext
45 lines
1.1 KiB
Plaintext
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
|
|
|