rust/tests/ui/unused-crate-deps/ignore-pathless-extern.rs

13 lines
206 B
Rust

// 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() {}