We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
#![feature(associated_types)] trait Foo { type A; } struct B<X: Foo<A=int>>{ x: X::A, } fn main() { let b = B { x: 42i }; let _: int = b.x; }
The struct definition is OK, but the struct initialiser fails to type check (which I think it should). We don't get as far as the second assignment.
The text was updated successfully, but these errors were encountered:
Dup of #20535, #20470, etc.
Sorry, something went wrong.
Merge pull request rust-lang#19558 from rust-lang/small-bug-catastrop…
a7cdc0b
…hic-effect fix: Fix a small bug with catastrophic effects
No branches or pull requests
The struct definition is OK, but the struct initialiser fails to type check (which I think it should). We don't get as far as the second assignment.
The text was updated successfully, but these errors were encountered: