mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
10 lines
175 B
Rust
10 lines
175 B
Rust
#![allow(unused_macros)]
|
|
|
|
macro_rules! assign {
|
|
(($($a:tt)*) = ($($b:tt))*) => { //~ ERROR expected one of: `*`, `+`, or `?`
|
|
$($a)* = $($b)*
|
|
}
|
|
}
|
|
|
|
fn main() {}
|