rust/tests/ui/macros/macro-use-wrong-name.rs
2024-02-16 20:02:50 +00:00

10 lines
148 B
Rust

//@ aux-build:two_macros.rs
#[macro_use(macro_one)]
extern crate two_macros;
pub fn main() {
macro_two!();
//~^ ERROR cannot find macro
}