rust/tests/ui/unused-crate-deps/warn-cmdline-json.rs
2024-02-16 20:02:50 +00:00

9 lines
241 B
Rust

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