Matthias Krüger 967a29f4c0
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.
2025-05-09 21:50:08 +02:00
..
2025-05-03 17:22:52 +02:00
2025-05-06 23:28:28 +05:30
2025-05-09 12:09:15 +02:00
2025-04-25 20:50:57 +09:00
2025-05-02 18:45:28 +00:00
2025-05-03 17:22:52 +02:00
2025-04-21 16:16:38 +09:00
2025-04-29 18:19:26 +02:00
2025-05-03 17:22:52 +02:00
2025-04-25 20:50:57 +09:00
2025-05-05 21:09:31 +02:00