rust/tests/ui/macros/macro-use-all-and-none.rs
2024-02-16 20:02:50 +00:00

14 lines
220 B
Rust

//@ run-pass
//@ aux-build:two_macros-rpass.rs
#![warn(unused_attributes)]
#[macro_use]
#[macro_use()] //~ WARNING unused attribute
extern crate two_macros_rpass;
pub fn main() {
macro_one!();
macro_two!();
}