rust/tests/ui/macros/macro-use-wrong-name.rs

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
}