rust/tests/ui/macros/genercs-in-path-with-prettry-hir.rs

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

15 lines
223 B
Rust
Raw Permalink Normal View History

2024-04-15 16:01:02 -05:00
//@ compile-flags: -Zunpretty=hir
// issue#97006
2024-04-15 16:01:02 -05:00
macro_rules! m {
($attr_path: path) => {
#[$attr_path]
fn f() {}
}
}
m!(inline<u8>); //~ ERROR: unexpected generic arguments in path
fn main() {}