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

8 lines
218 B
Rust

// Check for unused crate dep, json event, deny, expect compile failure
//@ edition:2018
//@ compile-flags: -Dunused-crate-dependencies --json unused-externs --error-format=json
//@ aux-crate:bar=bar.rs
fn main() {}