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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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`
}