rust/compiler/rustc_parse/src
Oli Scherer 5fbdfc3e10
Add iter macro
This adds an `iter!` macro that can be used to create movable
generators.

This also adds a yield_expr feature so the `yield` keyword can be used
within iter! macro bodies. This was needed because several unstable
features each need `yield` expressions, so this allows us to stabilize
them separately from any individual feature.

Co-authored-by: Oli Scherer <github35764891676564198441@oli-obk.de>
Co-authored-by: Jieyou Xu <jieyouxu@outlook.com>
Co-authored-by: Travis Cross <tc@traviscross.com>
2025-06-03 10:52:32 -07:00
..
lexer Report text_direction_codepoint_in_literal when parsing 2025-05-27 15:57:41 +00:00
parser Add iter macro 2025-06-03 10:52:32 -07:00
errors.rs move asm parsing code into rustc_parse 2025-05-27 09:44:10 +02:00
lib.rs update cfg(bootstrap) 2025-05-12 15:33:37 +02:00
validate_attr.rs Make attribute safety validation logic more obvious 2025-05-04 21:44:50 +08:00