mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
9 lines
195 B
Rust
9 lines
195 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 external crate `bar` unused in
|