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

ices/69840.rs: fixed with no errors #397

Merged
merged 1 commit into from
Jun 17, 2020
Merged

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#69840

#![feature(impl_trait_in_bindings)]
#![allow(incomplete_features)]

struct A<'a>(&'a ());

trait Trait<T> {}

impl<T> Trait<T> for () {}

pub fn foo<'a>() {
    let _x: impl Trait<A<'a>> = ();
}

fn main() {}
=== stdout ===
=== stderr ===
==============

=== stdout ===
=== stderr ===
==============
@Alexendoo Alexendoo merged commit b634c88 into master Jun 17, 2020
@Alexendoo Alexendoo deleted the autofix/ices/69840.rs branch June 17, 2020 17:18
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