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

ices/93242-1.rs: fixed with no errors #1594

Merged
merged 1 commit into from
Jun 4, 2023
Merged

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#93242

pub async fn something(path: &[usize]) -> usize {
    // Without this async block it doesn't ICE
    async {
        match path {
            [] => 0,
            // Adding the following match arm makes it not ICE, thankfully that makes this not a
            // blocker for me :)

            // [1] => 2,
            _ => 1,
        }
    }
    .await
}

fn main() {}
=== stdout ===
=== stderr ===
==============

=== stdout ===
=== stderr ===
==============
@JohnTitor JohnTitor merged commit d3f1b3c into master Jun 4, 2023
@JohnTitor JohnTitor deleted the autofix/ices/93242-1.rs branch June 4, 2023 08:42
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