mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 11:50:45 +00:00
9 lines
183 B
Rust
9 lines
183 B
Rust
macro_rules! check {
|
|
($f:tt) => {
|
|
assert_eq!(pretty($f), stringify!($f));
|
|
};
|
|
(-$f:tt) => {
|
|
assert_eq!(pretty(-$f), concat!("-", stringify!($f)));
|
|
};
|
|
}
|