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

10 lines
138 B
Rust

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