mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
8 lines
238 B
Rust
8 lines
238 B
Rust
// Check for unused crate dep, json event, deny, expect compile failure
|
|
|
|
//@ edition:2018
|
|
//@ compile-flags: -Dunused-crate-dependencies -Zunstable-options --json unused-externs --error-format=json
|
|
//@ aux-crate:bar=bar.rs
|
|
|
|
fn main() {}
|