diff options
| author | Jacob Pratt <jacob@jhpratt.dev> | 2025-02-11 01:02:38 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-11 01:02:38 -0500 |
| commit | a6052058cdc5720379c4eaea258ca94abb34c4ae (patch) | |
| tree | 688c7ed0eaf8aa5387e611cff8150a395b3643a4 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | ffa9afef183a3496a277c8da2e61403582a99508 (diff) | |
| parent | 593c88fc49d2fa3ceabaa12923d8540551617041 (diff) | |
| download | rust-a6052058cdc5720379c4eaea258ca94abb34c4ae.tar.gz rust-a6052058cdc5720379c4eaea258ca94abb34c4ae.zip | |
Rollup merge of #136606 - thaliaarchi:format-long-lines, r=ibraheemdev
Fix long lines which rustfmt fails to format rustfmt fails to format this match expression, because it has several long string literals over the maximum line width. This seems to exhibit rustfmt issues [#3863](https://github.com/rust-lang/rustfmt/issues/3863) (Gives up on chains if any line is too long) and [#3156](https://github.com/rust-lang/rustfmt/issues/3156) (Fail to format match arm when other arm has long line). Format it with a large line width (e.g., by setting `max_width = 200` in rustfmt.toml) and, in case the rustfmt bugs are later fixed, mark it with `#[rustfmt::skip]`, as it is more legible with each case on one line.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
