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

11 lines
137 B
Rust
Raw Normal View History

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