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

ices/73021.sh: fixed with no errors #679

Closed
wants to merge 1 commit into from

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Mar 7, 2021

Issue: rust-lang/rust#73021

#!/bin/bash

rustc --emit mir -Z mir-opt-level=2 - <<EOF
// build-pass
#![allow(dead_code)]
trait Foo {
    fn foo(&self);
}

fn foo<'a>(s: &'a mut ()) where &'a mut (): Foo {
    s.foo();
}
fn main() {}
EOF
=== stdout ===
=== stderr ===
==============

=== stdout ===
=== stderr ===
==============
@Alexendoo Alexendoo deleted the autofix/ices/73021.sh branch March 8, 2021 18:09
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.

1 participant