2018-05-25 15:53:49 -05:00
|
|
|
error: unused extern crate
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/unnecessary-extern-crate.rs:6:1
|
2018-05-04 13:25:31 -05:00
|
|
|
|
|
2018-11-26 08:28:42 -06:00
|
|
|
LL | extern crate libc;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^ help: remove it
|
2018-05-04 13:25:31 -05:00
|
|
|
|
|
2020-01-22 17:57:38 -06:00
|
|
|
note: the lint level is defined here
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/unnecessary-extern-crate.rs:3:9
|
2018-05-04 13:25:31 -05:00
|
|
|
|
|
2018-05-25 15:53:49 -05:00
|
|
|
LL | #![deny(unused_extern_crates)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
2018-05-04 13:25:31 -05:00
|
|
|
|
2018-05-25 15:53:49 -05:00
|
|
|
error: unused extern crate
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/unnecessary-extern-crate.rs:9:1
|
2018-05-04 13:25:31 -05:00
|
|
|
|
|
2018-11-26 08:28:42 -06:00
|
|
|
LL | extern crate libc as x;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^ help: remove it
|
2018-05-25 15:53:49 -05:00
|
|
|
|
2018-05-29 10:31:34 -05:00
|
|
|
error: unused extern crate
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/unnecessary-extern-crate.rs:31:5
|
2018-05-29 10:31:34 -05:00
|
|
|
|
|
2018-11-26 08:28:42 -06:00
|
|
|
LL | extern crate libc;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^ help: remove it
|
2018-05-29 10:31:34 -05:00
|
|
|
|
|
|
|
error: unused extern crate
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/unnecessary-extern-crate.rs:35:5
|
2018-05-29 10:31:34 -05:00
|
|
|
|
|
2018-11-26 08:28:42 -06:00
|
|
|
LL | extern crate libc as x;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^ help: remove it
|
2018-05-29 10:31:34 -05:00
|
|
|
|
|
|
|
error: unused extern crate
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/unnecessary-extern-crate.rs:44:9
|
2018-05-29 10:31:34 -05:00
|
|
|
|
|
2018-11-26 08:28:42 -06:00
|
|
|
LL | extern crate libc;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^ help: remove it
|
2018-05-29 10:31:34 -05:00
|
|
|
|
|
|
|
error: unused extern crate
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/unnecessary-extern-crate.rs:48:9
|
2018-05-29 10:31:34 -05:00
|
|
|
|
|
2018-11-26 08:28:42 -06:00
|
|
|
LL | extern crate libc as x;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^ help: remove it
|
2018-05-29 10:31:34 -05:00
|
|
|
|
2018-09-28 14:54:18 -05:00
|
|
|
error: aborting due to 6 previous errors
|
2018-05-04 13:25:31 -05:00
|
|
|
|