]> git.proxmox.com Git - rustc.git/blame - src/tools/rustfmt/tests/source/configs/indent_style/block_trailing_comma_call/two.rs
New upstream version 1.52.1+dfsg1
[rustc.git] / src / tools / rustfmt / tests / source / configs / indent_style / block_trailing_comma_call / two.rs
CommitLineData
f20569fa
XL
1// rustfmt-version: Two
2// rustfmt-error_on_line_overflow: false
3// rustfmt-indent_style: Block
4
5// rustfmt should not add trailing comma when rewriting macro. See #1528.
6fn a() {
7 panic!("this is a long string that goes past the maximum line length causing rustfmt to insert a comma here:");
8 foo(a, oooptoptoptoptptooptoptoptoptptooptoptoptoptptoptoptoptoptpt());
9}