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

ices/93411.sh: fixed with no errors #1201

Closed
wants to merge 1 commit into from

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#93411

rustc --edition 2021 - 2>&1 << EOF

#![feature(type_alias_impl_trait)]

use std::future::Future;

fn main() {
    let _ = move || async move {
        let value = 0u8;
        blah(&value).await;
    };
}

type BlahFut<'a> = impl Future<Output = ()> + Send + 'a;
fn blah<'a>(_value: &'a u8) -> BlahFut<'a> {
    async {}
}

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

=== stdout ===
=== stderr ===
==============
@Alexendoo Alexendoo closed this in 1714f42 Mar 31, 2022
@Alexendoo Alexendoo deleted the autofix/ices/93411.sh branch March 31, 2022 21:54
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant