mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +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() {}
|