rust/tests/ui/crashes/ice-96721.rs

11 lines
138 B
Rust
Raw Normal View History

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