blob: 38074d5b05ca2485859b352cf22c7623e6bcbe92 [file] [log] [blame]
// Check that unknown attribute error is shown even if there are unresolved macros.
#[marco_use] // typo
//~^ ERROR cannot find attribute macro `marco_use` in this scope
mod foo {
macro_rules! bar {
() => ();
}
}
fn main() {
bar!(); //~ ERROR cannot find macro `bar!` in this scope
}