rust/tests/crashes/97006.rs
2024-04-18 18:55:20 +02:00

16 lines
248 B
Rust

//@ known-bug: #97006
//@ compile-flags: -Zunpretty=hir
#![allow(unused)]
macro_rules! m {
($attr_path: path) => {
#[$attr_path]
fn f() {}
}
}
m!(inline<u8>); //~ ERROR: unexpected generic arguments in path
fn main() {}