blob: ad66e421c6b9de848382eb619323ba1eac75f26e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Check that unknown attribute error is shown even if there are unresolved macros.
#[marco_use] // typo
//~^ ERROR The attribute `marco_use` is currently unknown to the compiler
mod foo {
macro_rules! bar {
() => ();
}
}
fn main() {
bar!(); //~ ERROR cannot find macro `bar!` in this scope
}
|