about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-05-09 21:50:08 +0200
committerGitHub <noreply@github.com>2025-05-09 21:50:08 +0200
commit967a29f4c0a156b258d459b01b248756c7ef63bc (patch)
tree4f47a1e9fc7086b1d2a7e89b6c739f322ef52152 /compiler/rustc_codegen_llvm/src
parentf9003b7d375ed26a1d27b3d2faea7434e2dd564d (diff)
parentfc20650c6a9aedbea9155b04fb1a4bcc29220480 (diff)
downloadrust-967a29f4c0a156b258d459b01b248756c7ef63bc.tar.gz
rust-967a29f4c0a156b258d459b01b248756c7ef63bc.zip
Rollup merge of #140848 - kornelski:not-a-dead-end, r=compiler-errors
Improved error message for top-level or-patterns

I was confused by "top-level or-patterns are not allowed in `let` bindings" error, because it sounded like or-patterns were completely unsupported.

This error has an auto-fix suggestion that shows otherwise, but the auto-fix isn't always visible in IDEs.

I've changed the wording to be consistent with "`Fn` bounds require arguments in parentheses", and it doesn't sound like a dead-end any more.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions