rust/compiler/rustc_parse/src
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
..
lexer Fix suggestion for attempting to define a string with single quotes 2023-08-16 21:51:57 +01:00
parser Auto merge of #115677 - matthewjasper:let-expr-recovery, r=b-naber 2023-09-14 19:56:55 +00:00
errors.rs Address review comments 2023-09-13 15:00:31 +00:00
lib.rs Use relative positions inside a SourceFile. 2023-09-03 12:56:10 +00:00
validate_attr.rs Remove MacDelimiter. 2023-08-03 09:03:30 +10:00