rust/tests/target/configs/format_macro_matchers/false.rs

7 lines
161 B
Rust
Raw Normal View History

2018-07-31 17:41:16 -05:00
// rustfmt-format_macro_matchers: false
macro_rules! foo {
2023-03-14 18:10:59 -05:00
($a: ident : $b: ty) => { $a(42): $b; };
($a: ident $b: ident $c: ident) => { $a=$b+$c; };
2018-07-31 17:41:16 -05:00
}