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

ices/99642.rs: fixed with no errors #1363

Merged
merged 1 commit into from
Jul 29, 2022
Merged

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#99642

fn test() -> impl Iterator<Item = impl Sized> {
    Box::new(0..) as Box<dyn Iterator<Item = _>>
}

pub fn main() {}
=== stdout ===
=== stderr ===
warning: function `test` is never used
 --> /home/runner/work/glacier/glacier/ices/99642.rs:1:4
  |
1 | fn test() -> impl Iterator<Item = impl Sized> {
  |    ^^^^
  |
  = note: `#[warn(dead_code)]` on by default

warning: 1 warning emitted

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

=== stdout ===
=== stderr ===
warning: function `test` is never used
 --> /home/runner/work/glacier/glacier/ices/99642.rs:1:4
  |
1 | fn test() -> impl Iterator<Item = impl Sized> {
  |    ^^^^
  |
  = note: `#[warn(dead_code)]` on by default

warning: 1 warning emitted

==============
@JohnTitor JohnTitor merged commit 0bf4f0d into master Jul 29, 2022
@JohnTitor JohnTitor deleted the autofix/ices/99642.rs branch July 29, 2022 09:53
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