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() {}