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

11 lines
138 B
Rust
Raw Normal View History

2022-05-05 13:10:06 +00:00
macro_rules! foo {
() => {
"bar.rs"
};
}
2023-04-20 15:19:36 +00:00
#[path = foo!()] //~ ERROR: malformed `path` attribute
2022-05-05 13:10:06 +00:00
mod abc {}
fn main() {}