Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ices/78653.rs: fixed with errors (rust-lang#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 <rustbot@users.noreply.github.com>
- Loading branch information