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

ices/80207.rs: fixed with no errors #631

Merged
merged 1 commit into from
Feb 4, 2021
Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Feb 4, 2021

Issue: rust-lang/rust#80207

#![crate_type = "lib"]
pub trait Foo {
    fn do_stuff() -> Self;
}

pub trait Bar {
    type Output;
}

impl<T> Foo for dyn Bar<Output = T>
where
    Self: Sized,
{
    fn do_stuff() -> Self {
        todo!()
    }
}
=== stdout ===
=== stderr ===
==============

=== stdout ===
=== stderr ===
==============
@Alexendoo Alexendoo merged commit ab23aea into master Feb 4, 2021
@Alexendoo Alexendoo deleted the autofix/ices/80207.rs branch February 4, 2021 13: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