rust/tests/ui/unused-crate-deps/ignore-pathless-extern.rs
2024-02-16 20:02:50 +00:00

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