Mark Rousskov
9a5034a20e
Step all bootstrap cfgs forward
...
This also takes care of other bootstrap-related changes.
2024-02-08 07:44:34 -05:00
Michael Goulet
eef023c806
Rollup merge of #119222 - eholk:into-async-iterator, r=compiler-errors,dtolnay
...
Add `IntoAsyncIterator`
This introduces the `IntoAsyncIterator` trait and uses it in the desugaring of the unstable `for await` loop syntax. This is mostly added for symmetry with `Iterator` and `IntoIterator`.
r? `@compiler-errors`
cc `@rust-lang/libs-api,` `@rust-lang/wg-async`
2023-12-22 21:41:04 -05:00
bors
495203bf61
Auto merge of #119211 - rust-lang:pa-master-1.77, r=Mark-Simulacrum
...
Bump stage0 to 1.76 beta
r? `@Mark-Simulacrum`
2023-12-23 00:26:47 +00:00
Eric Holk
acb6f17adf
Use IntoAsyncIterator in for await loop desugaring
2023-12-22 11:01:06 -08:00
Eric Holk
8e34391d6a
Add IntoAsyncIterator
2023-12-22 11:01:05 -08:00
Pietro Albini
f9f5840eb4
update cfg(bootstrap)s
2023-12-22 11:14:11 +01:00
Eric Holk
97df0d3657
Desugar for await loops
2023-12-19 12:26:27 -08:00
Michael Goulet
96bb542a31
Implement async gen blocks
2023-12-08 17:23:25 +00:00
Tshepang Mbambo
a36a37e5a8
use consistent terminology
...
I did not see other traits using the "interface" word
2022-10-29 09:23:12 +02:00
Michael Goulet
8a75d55514
Add Stream alias for AsyncIterator
2022-03-15 20:59:13 -07:00
Charles Lew
18130a21dc
Move {core,std}::stream::Stream to {core,std}::async_iter::AsyncIterator.
2022-02-03 21:03:06 +08:00