blob: cfc71e6b938f228dd16b1c7b93aeebdadaf30a43 [file] [log] [blame]
// Tests for the issue in #137589
#[crate_type = foo!()]
//~^ ERROR cannot find macro `foo` in this scope
//~| WARN crate-level attribute should be an inner attribute
macro_rules! foo {} //~ ERROR macros must contain at least one rule
fn main() {}