rust/tests/ui/modules/path-macro.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
121 B
Rust
Raw Normal View History

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