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

11 lines
137 B
Rust
Raw Normal View History

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