mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-20 04:24:41 +00:00
13 lines
191 B
Rust
13 lines
191 B
Rust
#![allow(unused)]
|
|
|
|
macro_rules! m {
|
|
($attr_path: path) => {
|
|
#[$attr_path]
|
|
fn f() {}
|
|
}
|
|
}
|
|
|
|
m!(inline<u8>); //~ ERROR: unexpected generic arguments in path
|
|
|
|
fn main() {}
|