rust/tests/ui/macros/macro-use-all-and-none.rs
2023-01-11 09:32:08 +00:00

14 lines
218 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!();
}