mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +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() {}
|