rust/tests/ui/unused-crate-deps/suppress.rs

12 lines
151 B
Rust

// Suppress by using crate
//@ edition:2018
//@ check-pass
//@ aux-crate:bar=bar.rs
#![warn(unused_crate_dependencies)]
use bar as _;
fn main() {}