rust/tests/source/configs/format_macro_matchers/true.rs

7 lines
160 B
Rust
Raw Normal View History

2018-07-31 17:41:16 -05:00
// rustfmt-format_macro_matchers: true
macro_rules! foo {
($a: ident : $b: ty) => { $a(42): $b; };
($a: ident $b: ident $c: ident) => { $a=$b+$c; };
}