rust/tests/ui/unused-crate-deps/deny-cmdline.rs
2024-06-03 07:25:32 +02:00

9 lines
199 B
Rust

// Check for unused crate dep, deny, expect failure
//@ edition:2018
//@ compile-flags: -Dunused-crate-dependencies
//@ aux-crate:bar=bar.rs
fn main() {}
//~^ ERROR extern crate `bar` is unused in