diff options
| author | Michael Goulet <michael@errs.io> | 2025-03-06 15:40:05 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-06 15:40:05 -0500 |
| commit | bc45cdb27a2303eb4254504a256ecfbe8f0cdbc0 (patch) | |
| tree | 84013ff3d46aab4fb7f5a9bc3f40a1fdef8d8318 /tests/ui/patchable-function-entry | |
| parent | 6963d74cd1ab5db912c852a2c289ca71256fab65 (diff) | |
| parent | 432e1c3eeaa94310f474e314d7750b6df6236fba (diff) | |
| download | rust-bc45cdb27a2303eb4254504a256ecfbe8f0cdbc0.tar.gz rust-bc45cdb27a2303eb4254504a256ecfbe8f0cdbc0.zip | |
Rollup merge of #138081 - eholk:yield-feature, r=oli-obk
Move `yield` expressions behind their own feature gate In order to make progress with the `iter!` macro (e.g. in #137725), we need `yield` expressions to be available without the `coroutines` feature. This PR moves `yield` to be guarded by the `yield_expr` feature so that we can stabilize that independently (or at least, concurrently with the `iter_macro` feature). Note that once `yield` is stable, it will still be an error to use `yield` expressions outside something like a generator or coroutine, and these features remain unstable. r? `@oli-obk`
Diffstat (limited to 'tests/ui/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions
