mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-07 06:04:32 +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() {}
|