rust/tests/ui/extern-flag/no-nounused.rs

7 lines
190 B
Rust
Raw Normal View History

//@ aux-crate:somedep=somedep.rs
//@ compile-flags: -Zunstable-options -Dunused-crate-dependencies
//@ edition:2018
fn main() { //~ ERROR external crate `somedep` unused in `no_nounused`
}