mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 16:45:37 +00:00
9 lines
222 B
Rust
9 lines
222 B
Rust
// Check for unused crate dep, warn, json event, expect pass
|
|
|
|
//@ edition:2018
|
|
//@ check-pass
|
|
//@ compile-flags: -Wunused-crate-dependencies --json unused-externs --error-format=json
|
|
//@ aux-crate:bar=bar.rs
|
|
|
|
fn main() {}
|