rust/compiler/rustc_parse/src
Jubilee f9078a40ee
Rollup merge of #118891 - compiler-errors:async-gen-blocks, r=eholk
Actually parse async gen blocks correctly

1. I got the control flow in `parse_expr_bottom` messed up, and obviously forgot a test for `async gen`, so we weren't actually ever parsing it correctly.
2. I forgot to gate the span for `async gen {}`, so even if we did parse it, we wouldn't have correctly denied it in `cfg(FALSE)`.

r? eholk
2023-12-12 18:48:55 -08:00
..
lexer Add spacing information to delimiters. 2023-12-11 09:36:40 +11:00
parser Rollup merge of #118891 - compiler-errors:async-gen-blocks, r=eholk 2023-12-12 18:48:55 -08:00
errors.rs Support async gen fn 2023-12-08 17:23:26 +00:00
lib.rs Use rustc_fluent_macro::fluent_messages! directly. 2023-11-26 08:38:40 +11:00
validate_attr.rs Improve an error involving attribute values. 2023-12-12 15:54:25 +11:00