about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2025-01-16 17:00:47 +0100
committerGitHub <noreply@github.com>2025-01-16 17:00:47 +0100
commit10d22fc949fbcaf282d8f6b4300116d005275404 (patch)
tree38af5e1fd48e2818c5b7f3f000620e3ade8f50f3 /compiler/rustc_codegen_llvm/src/errors.rs
parent8f9ccc5d1b3ebc517037d6e6edf47a242edb243d (diff)
parentc9946376cf5a49e12e02f724c23b10db3a17c24e (diff)
downloadrust-10d22fc949fbcaf282d8f6b4300116d005275404.tar.gz
rust-10d22fc949fbcaf282d8f6b4300116d005275404.zip
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
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions