rust/src/test/ui/macros/macro-use-wrong-name.rs
2018-12-25 21:08:33 -07:00

10 lines
147 B
Rust

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