Files
rust/compiler/rustc_parse/src/parser
bors dac91a82e1 Auto merge of #115677 - matthewjasper:let-expr-recovery, r=b-naber
Improve invalid let expression handling

- Move all of the checks for valid let expression positions to parsing.
- Add a field to ExprKind::Let in AST/HIR to mark whether it's in a valid location.
- Suppress some later errors and MIR construction for invalid let expressions.
- Fix a (drop) scope issue that was also responsible for #104172.

Fixes #104172
Fixes #104868
2023-09-14 19:56:55 +00:00
..
2023-09-06 17:12:07 +10:00
2023-08-08 10:59:15 +08:00
2023-09-13 15:00:31 +00:00
2023-07-23 10:50:14 +02:00
2023-09-11 15:51:18 +00:00
2023-08-18 16:50:41 +10:00