2018-05-25 15:53:49 -05:00
|
|
|
warning: unused extern crate
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/removing-extern-crate.rs:9:1
|
2018-05-11 14:34:56 -05:00
|
|
|
|
|
2018-09-06 16:01:35 -05:00
|
|
|
LL | extern crate removing_extern_crate as foo;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove it
|
2018-05-11 14:34:56 -05:00
|
|
|
|
|
|
|
|
note: lint level defined here
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/removing-extern-crate.rs:6:9
|
2018-05-11 14:34:56 -05:00
|
|
|
|
|
|
|
|
LL | #![warn(rust_2018_idioms)]
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
2018-05-25 15:53:49 -05:00
|
|
|
= note: #[warn(unused_extern_crates)] implied by #[warn(rust_2018_idioms)]
|
2018-05-11 14:34:56 -05:00
|
|
|
|
2018-05-25 15:53:49 -05:00
|
|
|
warning: unused extern crate
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/removing-extern-crate.rs:10:1
|
2018-05-11 14:34:56 -05:00
|
|
|
|
|
|
|
|
LL | extern crate core;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^ help: remove it
|
|
|
|
|
2018-05-25 15:53:49 -05:00
|
|
|
warning: unused extern crate
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/removing-extern-crate.rs:13:5
|
2018-05-11 14:34:56 -05:00
|
|
|
|
|
2018-09-06 16:01:35 -05:00
|
|
|
LL | extern crate removing_extern_crate as foo;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove it
|
2018-05-11 14:34:56 -05:00
|
|
|
|
2018-05-25 15:53:49 -05:00
|
|
|
warning: unused extern crate
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/removing-extern-crate.rs:14:5
|
2018-05-11 14:34:56 -05:00
|
|
|
|
|
2018-09-06 16:01:35 -05:00
|
|
|
LL | extern crate core;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^ help: remove it
|
2018-05-11 14:34:56 -05:00
|
|
|
|