rust/tests/ui/modules/path-macro.rs
2023-01-11 09:32:08 +00:00

9 lines
121 B
Rust

macro_rules! foo {
() => {"bar.rs"};
}
#[path = foo!()] //~ ERROR malformed `path` attribute
mod abc;
fn main() {}