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

ices/71793.sh: fixed with no errors #464

Merged
merged 1 commit into from
Sep 15, 2020
Merged

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#71793

#!/bin/bash

rustc +nightly --edition 2018 -Z mir-opt-level=2 - << EOF
pub async fn connect() {}
pub fn block_on<F: std::future::Future>(_: F) {}
fn main() {
    block_on(async {
        Vec::<String>::new().first().ok_or("").unwrap();
        connect().await;
    })
}

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

=== stdout ===
=== stderr ===
==============
@Alexendoo Alexendoo merged commit 2e0a82b into master Sep 15, 2020
@Alexendoo Alexendoo deleted the autofix/ices/71793.sh branch September 15, 2020 12:28
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.

None yet

2 participants