1
Fork 0

Add additional tests and update existing tests

This commit is contained in:
Eric Holk 2023-12-12 17:33:51 -08:00
parent 97df0d3657
commit 397f4a15bb
No known key found for this signature in database
GPG key ID: 8EA6B43ED4CE0911
7 changed files with 111 additions and 2 deletions

View file

@ -4,8 +4,18 @@ error[E0658]: `for await` loops are experimental
LL | for await _i in core::async_iter::from_iter(0..3) {
| ^^^^^
|
= note: see issue #118898 <https://github.com/rust-lang/rust/issues/118898> for more information
= help: add `#![feature(async_for_loop)]` to the crate attributes to enable
error: aborting due to 1 previous error
error[E0658]: `for await` loops are experimental
--> $DIR/feature-async-for-loop.rs:17:13
|
LL | for await _i in core::async_iter::from_iter(0..3) {
| ^^^^^
|
= note: see issue #118898 <https://github.com/rust-lang/rust/issues/118898> for more information
= help: add `#![feature(async_for_loop)]` to the crate attributes to enable
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0658`.