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

ices/102383-1.sh: fixed with no errors #1493

Merged
merged 1 commit into from
Jan 21, 2023
Merged

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#102383

#!/bin/bash

rustc "--edition=2018" "-Zdrop-tracking" "--crate-type=lib" - << EOF
pub struct File<B> {
    block: B,
}

pub async fn commit<B: Clone>(this: &mut File<B>) {
    async {}.await;
    async {}.await;
    async {}.await;
    async {}.await;

    let file = async { &this }.await;
    *async { &mut this.block }.await = file.block.clone();
}

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

=== stdout ===
=== stderr ===
==============
@JohnTitor JohnTitor merged commit 34e1edc into master Jan 21, 2023
@Alexendoo Alexendoo deleted the autofix/ices/102383-1.sh branch February 11, 2023 14:34
# 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.

2 participants