]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/source/configs/indent_style/visual_trailing_comma.rs
Merge commit '598f0909568a51de8a2d1148f55a644fd8dffad0' into sync_cg_clif-2023-01-24
[rust.git] / src / tools / rustfmt / tests / source / configs / indent_style / visual_trailing_comma.rs
1 // rustfmt-error_on_line_overflow: false
2 // rustfmt-indent_style: Visual
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 }