rust/tests/ui/unused-crate-deps/warn-attr.stderr
2024-06-03 07:25:32 +02:00

16 lines
398 B
Plaintext

warning: extern crate `bar` is unused in crate `warn_attr`
--> $DIR/warn-attr.rs:7:1
|
LL | #![warn(unused_crate_dependencies)]
| ^
|
= help: remove the dependency or add `use bar as _;` to the crate root
note: the lint level is defined here
--> $DIR/warn-attr.rs:7:9
|
LL | #![warn(unused_crate_dependencies)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
warning: 1 warning emitted