Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Commit a365b00

Browse files
ices/78653.rs: fixed with errors (#662)
=== stdout === === stderr === error[E0658]: yield syntax is experimental --> /home/runner/work/glacier/glacier/ices/78653.rs:2:5 | 2 | yield || for _ in 0 {} | ^^^^^^^^^^^^^^^^^^^^^^ | = note: see issue #43122 <rust-lang/rust#43122> for more information = help: add `#![feature(generators)]` to the crate attributes to enable error[E0627]: yield expression outside of generator literal --> /home/runner/work/glacier/glacier/ices/78653.rs:2:5 | 2 | yield || for _ in 0 {} | ^^^^^^^^^^^^^^^^^^^^^^ error[E0277]: `{integer}` is not an iterator --> /home/runner/work/glacier/glacier/ices/78653.rs:2:23 | 2 | yield || for _ in 0 {} | ^ `{integer}` is not an iterator | = help: the trait `Iterator` is not implemented for `{integer}` = note: if you want to iterate between `start` until a value `end`, use the exclusive range syntax `start..end` or the inclusive range syntax `start..=end` = note: required because of the requirements on the impl of `IntoIterator` for `{integer}` = note: required by `into_iter` error: aborting due to 3 previous errors Some errors have detailed explanations: E0277, E0627, E0658. For more information about an error, try `rustc --explain E0277`. ============== Co-authored-by: rustbot <[email protected]>
1 parent 6888e54 commit a365b00

File tree

1 file changed

+0
-0
lines changed

1 file changed

+0
-0
lines changed
File renamed without changes.

0 commit comments

Comments
 (0)