about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorOli Scherer <github333195615777966@oli-obk.de>2025-02-27 09:51:23 +0000
committerEric Holk <ericholk@microsoft.com>2025-06-03 10:52:32 -0700
commit5fbdfc3e1018072e0c272d19308d72ac5165f01a (patch)
treeb8b697529f74f05d2d0636f5387e600ed449b822 /compiler/rustc_codegen_llvm/src
parentaae43c4532690153af7465227816c93036bb1604 (diff)
downloadrust-5fbdfc3e1018072e0c272d19308d72ac5165f01a.tar.gz
rust-5fbdfc3e1018072e0c272d19308d72ac5165f01a.zip
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>
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions