]> git.proxmox.com Git - rustc.git/blob - src/tools/rustfmt/tests/source/configs/indent_style/block_trailing_comma_call/one.rs
New upstream version 1.52.1+dfsg1
[rustc.git] / src / tools / rustfmt / tests / source / configs / indent_style / block_trailing_comma_call / one.rs
1 // rustfmt-version: One
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.
6 fn 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 }