Add additional tests and update existing tests
This commit is contained in:
parent
97df0d3657
commit
397f4a15bb
7 changed files with 111 additions and 2 deletions
|
@ -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`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue