rust/compiler/rustc_const_eval/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
..
check_consts Add iter macro 2025-06-03 10:52:32 -07:00
const_eval Rollup merge of #141513 - nia-e:allocbytes-extend, r=RalfJung 2025-05-27 01:29:20 +08:00
interpret Add const support for float rounding methods 2025-05-31 15:26:57 -03:00
util Rename unpack to kind 2025-05-27 11:14:45 +00:00
errors.rs const-check: stop recommending the use of rustc_allow_const_fn_unstable 2025-05-25 22:47:21 +02:00
lib.rs update cfg(bootstrap) 2025-05-12 15:33:37 +02:00