rust/tests/target/configs/format_macro_matchers/true.rs
2023-05-01 16:15:17 +08:00

7 lines
160 B
Rust

// rustfmt-format_macro_matchers: true
macro_rules! foo {
($a: ident : $b: ty) => { $a(42): $b; };
($a: ident $b: ident $c: ident) => { $a=$b+$c; };
}