about summary refs log tree commit diff
path: root/tests/ui/attributes/crate-type-macro-not-found.rs
blob: 824468c0e85b1595aaeead65016a905a8c5f088e (plain)
1
2
3
4
5
6
7
8
// Tests for the issue in #137589
#[crate_type = foo!()] //~ ERROR cannot find macro `foo` in this scope

macro_rules! foo {
    ($x:expr) => {"rlib"}
}

fn main() {}