1
Fork 0
rust/src/test/ui/unused-crate-deps/warn-cmdline-json.rs

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

9 lines
215 B
Rust
Raw Normal View History

// Check for unused crate dep, no path
// edition:2018
// check-pass
// compile-flags: -Wunused-crate-dependencies -Zunstable-options --json unused-externs --error-format=json
// aux-crate:bar=bar.rs
fn main() {}