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

ices/72372.sh: fixed with no errors #399

Merged
merged 1 commit into from
Jun 22, 2020
Merged

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#72372

#!/bin/bash

cat > 72372.rs <<EOF
fn main() {
    let foo = "1\n2".lines().map(|_| [1]);
    let _ = foo.filter(|_| true);
}

EOF

rustc -Zmir-opt-level=2 72372.rs
=== stdout ===
=== stderr ===
==============

=== stdout ===
=== stderr ===
==============
@JohnTitor JohnTitor merged commit 9a88ae8 into master Jun 22, 2020
@JohnTitor JohnTitor deleted the autofix/ices/72372.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