rust/tests/ui/lint/unnecessary-extern-crate.stderr

45 lines
1.1 KiB
Plaintext
Raw Normal View History

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
|
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
|
LL | #![deny(unused_extern_crates)]
| ^^^^^^^^^^^^^^^^^^^^
2018-05-04 13:25:31 -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
|
LL | extern crate libc as x;
| ^^^^^^^^^^^^^^^^^^^^^^^ help: remove it
error: unused extern crate
2018-12-25 09:56:47 -06:00
--> $DIR/unnecessary-extern-crate.rs:31:5
|
LL | extern crate libc;
| ^^^^^^^^^^^^^^^^^^ help: remove it
error: unused extern crate
2018-12-25 09:56:47 -06:00
--> $DIR/unnecessary-extern-crate.rs:35:5
|
LL | extern crate libc as x;
| ^^^^^^^^^^^^^^^^^^^^^^^ help: remove it
error: unused extern crate
2018-12-25 09:56:47 -06:00
--> $DIR/unnecessary-extern-crate.rs:44:9
|
LL | extern crate libc;
| ^^^^^^^^^^^^^^^^^^ help: remove it
error: unused extern crate
2018-12-25 09:56:47 -06:00
--> $DIR/unnecessary-extern-crate.rs:48:9
|
LL | extern crate libc as x;
| ^^^^^^^^^^^^^^^^^^^^^^^ help: remove it
error: aborting due to 6 previous errors
2018-05-04 13:25:31 -05:00