Rollup merge of #135251 - oli-obk:push-lmpyvvyrtplk, r=ytmimi

Only treat plain literal patterns as short

See https://github.com/rust-lang/rust/pull/134228#discussion_r1905848384 and https://github.com/rust-lang/rust/pull/134228#discussion_r1905916702 for context. We never wanted to treat const blocks and paths as short, only plain literals.

I don't know how to write a test for this, it.s not clear to me how the short pattern check actually affects the formatting
This commit is contained in:
Matthias Krüger 2025-01-16 17:00:47 +01:00 committed by GitHub
commit 10d22fc949
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

Diff content is not available