]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/source/configs/indent_style/visual_trailing_comma.rs
Add 'src/tools/rustfmt/' from commit '7872306edf2e11a69aaffb9434088fd66b46a863'
[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 }