summaryrefslogtreecommitdiffstats
path: root/tests/ui/unused-crate-deps/ignore-pathless-extern.rs
blob: 8c273cb534d744b67561c0dfb9d6e00f26854f50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Pathless --extern references don't count

// edition:2018
// check-pass
// aux-crate:bar=bar.rs
// compile-flags:--extern proc_macro

#![warn(unused_crate_dependencies)]

use bar as _;

fn main() {}