diff options
| author | bors <bors@rust-lang.org> | 2024-04-22 13:29:35 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-04-22 13:29:35 +0000 |
| commit | fc6dfeb1bfb496f0aa1d3980b1c1e76586a29ae4 (patch) | |
| tree | 41e304a8f21eff7fe6adabcd1b06cfcf4cd73989 /compiler/rustc_codegen_llvm/src | |
| parent | c642d0cab63546ce094b75f2d31e0639d9b12399 (diff) | |
| parent | 54de78a2128ce1b9019f2bf2380c581e054bfe37 (diff) | |
| download | rust-fc6dfeb1bfb496f0aa1d3980b1c1e76586a29ae4.tar.gz rust-fc6dfeb1bfb496f0aa1d3980b1c1e76586a29ae4.zip | |
Auto merge of #11852 - rust-lang:single-char-pattern-ascii-only, r=xFrednet
reduce `single_char_pattern` to only lint on ascii chars This should mostly fix the `single_char_pattern` lint, because with a single byte, the optimizer will usually see through the char-to-string-expansion and single loop iteration. This fixes #11675 and #8111. Update: As per the meeting on November 28th, 2023, we voted to also downgrade the lint to pedantic. --- changelog: downgrade [`single_char_pattern`] to `pedantic`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
