summaryrefslogtreecommitdiffstats
path: root/tests/ui/unused-crate-deps/warn-cmdline-json.rs
blob: 4826c0062d0e502e427b7b62c6979d1b33c5202a (plain)
1
2
3
4
5
6
7
8
// 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() {}