diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-05-09 21:50:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-09 21:50:08 +0200 |
| commit | 967a29f4c0a156b258d459b01b248756c7ef63bc (patch) | |
| tree | 4f47a1e9fc7086b1d2a7e89b6c739f322ef52152 /compiler/rustc_codegen_llvm/src | |
| parent | f9003b7d375ed26a1d27b3d2faea7434e2dd564d (diff) | |
| parent | fc20650c6a9aedbea9155b04fb1a4bcc29220480 (diff) | |
| download | rust-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
