summaryrefslogtreecommitdiffstats
path: root/tests/ui/unused-crate-deps/suppress.rs
blob: 8904d04bc14f75ba1c1a084dd89195b2b92215f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Suppress by using crate

// edition:2018
// check-pass
// aux-crate:bar=bar.rs

#![warn(unused_crate_dependencies)]

use bar as _;

fn main() {}