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

ices/67158.rs: fixed with errors #294

Merged
merged 1 commit into from
Feb 19, 2020
Merged

ices/67158.rs: fixed with errors #294

merged 1 commit into from
Feb 19, 2020

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#67158

fn main() {
    async { yield print!(":C") };
}
=== stdout ===
=== stderr ===
error[E0658]: yield syntax is experimental
 --> /home/runner/work/glacier/glacier/ices/67158.rs:2:13
  |
2 |     async { yield print!(":C") };
  |             ^^^^^^^^^^^^^^^^^^
  |
  = note: see issue #43122 <https://github.com/rust-lang/rust/issues/43122> for more information
  = help: add `#![feature(generators)]` to the crate attributes to enable

error[E0727]: `async` generators are not yet supported
 --> /home/runner/work/glacier/glacier/ices/67158.rs:2:13
  |
2 |     async { yield print!(":C") };
  |             ^^^^^^^^^^^^^^^^^^

error: aborting due to 2 previous errors

Some errors have detailed explanations: E0658, E0727.
For more information about an error, try `rustc --explain E0658`.
==============

=== stdout ===
=== stderr ===
error[E0658]: yield syntax is experimental
 --> /home/runner/work/glacier/glacier/ices/67158.rs:2:13
  |
2 |     async { yield print!(":C") };
  |             ^^^^^^^^^^^^^^^^^^
  |
  = note: see issue #43122 <rust-lang/rust#43122> for more information
  = help: add `#![feature(generators)]` to the crate attributes to enable

error[E0727]: `async` generators are not yet supported
 --> /home/runner/work/glacier/glacier/ices/67158.rs:2:13
  |
2 |     async { yield print!(":C") };
  |             ^^^^^^^^^^^^^^^^^^

error: aborting due to 2 previous errors

Some errors have detailed explanations: E0658, E0727.
For more information about an error, try `rustc --explain E0658`.
==============
@Alexendoo Alexendoo merged commit 612f9e8 into master Feb 19, 2020
@Alexendoo Alexendoo deleted the autofix/ices/67158.rs branch February 19, 2020 14:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants