mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
16 lines
248 B
Rust
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() {}
|