rust/tests/ui/unused-crate-deps/deny-cmdline-json-silent.rs

9 lines
260 B
Rust

// Check for unused crate dep, json event, deny but we're not reporting that in exit status
//@ edition:2018
//@ check-pass
//@ compile-flags: -Dunused-crate-dependencies --json unused-externs-silent --error-format=json
//@ aux-crate:bar=bar.rs
fn main() {}