rust/compiler/rustc_parse/src
bors 25283f4e13 Auto merge of #115371 - matthewjasper:if-let-guard-parsing, r=cjgillot
Make if let guard parsing consistent with normal guards

- Add tests that struct expressions are not allowed in `if let` and `while let` (no change, consistent with `if` and `while`)
- Allow struct expressions in `if let` guards (consistent with `if` guards).

r? `@cjgillot`

Closes #93817
cc #51114
2023-09-06 00:46:21 +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 #115371 - matthewjasper:if-let-guard-parsing, r=cjgillot 2023-09-06 00:46:21 +00:00
errors.rs Fix bad suggestion when wrong parentheses around a dyn trait 2023-08-16 00:26:10 +08: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