]> git.lizzy.rs Git - rust.git/blob - tests/source/configs-fn_call_style-block-trailing-comma.rs
Cargo fmt and update tests
[rust.git] / tests / source / 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!("this is a long string that goes past the maximum line length causing rustfmt to insert a comma here:");
7     foo(a, oooptoptoptoptptooptoptoptoptptooptoptoptoptptoptoptoptoptpt());
8 }