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

ices/85635.rs: fixed with no errors #983

Merged
merged 1 commit into from
Oct 2, 2021
Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Oct 2, 2021

Issue: rust-lang/rust#85635

#![feature(generators)]
#![feature(box_syntax)]

fn main() {
    || box yield;
}
=== stdout ===
=== stderr ===
warning: unused generator that must be used
 --> /home/runner/work/glacier/glacier/ices/85635.rs:5:5
  |
5 |     || box yield;
  |     ^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_must_use)]` on by default
  = note: generators are lazy and do nothing unless resumed

warning: 1 warning emitted

==============

=== stdout ===
=== stderr ===
warning: unused generator that must be used
 --> /home/runner/work/glacier/glacier/ices/85635.rs:5:5
  |
5 |     || box yield;
  |     ^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_must_use)]` on by default
  = note: generators are lazy and do nothing unless resumed

warning: 1 warning emitted

==============
@Alexendoo Alexendoo merged commit 5dc7a9c into master Oct 2, 2021
@Alexendoo Alexendoo deleted the autofix/ices/85635.rs branch October 2, 2021 12:50
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