]> git.lizzy.rs Git - rust.git/blob - tests/target/configs-fn_call_style-block-trailing-comma.rs
Merge pull request #1657 from topecongiro/issue-1656
[rust.git] / tests / target / configs-fn_call_style-block-trailing-comma.rs
1 // rustfmt-error_on_line_overflow: false
2 // rustfmt-fn_call_style: Block
3
4 // rustfmt should not add trailing comma when rewriting macro. See #1528.
5 fn a() {
6     panic!(
7         "this is a long string that goes past the maximum line length causing rustfmt to insert a comma here:"
8     );
9     foo(
10         oooptoptoptoptptooptoptoptoptptooptoptoptoptptoptoptoptoptpt(),
11     );
12 }