-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiler fails to unify existential associated type #57807
Labels
A-impl-trait
Area: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.
A-typesystem
Area: The type system
F-type_alias_impl_trait
`#[feature(type_alias_impl_trait)]`
requires-nightly
This issue requires a nightly compiler in some way.
Comments
I think maybe cc @petrochenkov or @nikomatsakis ? |
jonhoo
changed the title
Compiler fais to unify existential associated type
Compiler fails to unify existential associated type
Jan 21, 2019
I wonder whether this is a dupe of #53984 ? |
Centril
added
A-typesystem
Area: The type system
A-impl-trait
Area: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.
labels
Jan 22, 2019
Centril
added
F-type_alias_impl_trait
`#[feature(type_alias_impl_trait)]`
requires-nightly
This issue requires a nightly compiler in some way.
labels
Jul 28, 2019
Dylan-DPC-zz
pushed a commit
to Dylan-DPC-zz/rust
that referenced
this issue
Jan 25, 2020
…Centril Add some type-alias-impl-trait regression tests Fixes rust-lang#57611 Fixes rust-lang#57807
JohnTitor
added a commit
to JohnTitor/rust
that referenced
this issue
Jan 25, 2020
…Centril Add some type-alias-impl-trait regression tests Fixes rust-lang#57611 Fixes rust-lang#57807
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-impl-trait
Area: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.
A-typesystem
Area: The type system
F-type_alias_impl_trait
`#[feature(type_alias_impl_trait)]`
requires-nightly
This issue requires a nightly compiler in some way.
The following code fails to compile (playground):
with the following error
If you make this modification, it compiles fine:
The text was updated successfully, but these errors were encountered: