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

ices/72285.sh: fixed with no errors #398

Merged
merged 1 commit into from
Jun 22, 2020
Merged

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#72285

#!/bin/bash

rustc -Z mir-opt-level=3 - << EOF

fn main() {
    let i = (0..usize::max_value()).chain(0..10).skip(usize::max_value());
    assert_eq!(i.count(), 10);
}

EOF
=== stdout ===
=== stderr ===
==============

=== stdout ===
=== stderr ===
==============
@JohnTitor JohnTitor merged commit d560412 into master Jun 22, 2020
@JohnTitor JohnTitor deleted the autofix/ices/72285.sh branch June 22, 2020 11:56
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