-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Infinite recursion with a defaulted, contravariant trait #22806
Labels
Comments
Fixing this bug would allow |
nikomatsakis
added a commit
to nikomatsakis/rust
that referenced
this issue
Feb 25, 2015
…iveness, but is necessary for now to work around rust-lang#22806. Fixes rust-lang#22655.
steveklabnik
added a commit
to steveklabnik/rust
that referenced
this issue
Feb 26, 2015
…ecursion, r=pnkfelix Change MarkerTrait to be invariant. This is a (small) loss of expressiveness, but is necessary for now to work around rust-lang#22806. Fixes rust-lang#22655. r? @pnkfelix
steveklabnik
added
A-typesystem
Area: The type system
A-traits
Area: Trait system
labels
Feb 26, 2015
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
Feb 27, 2015
…ecursion, r=pnkfelix Change MarkerTrait to be invariant. This is a (small) loss of expressiveness, but is necessary for now to work around rust-lang#22806. Fixes rust-lang#22655. r? @pnkfelix
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This test fails to compile:
the output is of the form:
This bug is branched off of #22655. It represents the underlying problem that caused #22655.
The text was updated successfully, but these errors were encountered: