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
This causes a stack overflow, presumably related to trait resolution:
struct Node<C: Trait<Self>>(C::Assoc); trait Trait<T> { type Assoc; } impl<T> Trait<T> for Vec<()> { type Assoc = Vec<T>; } fn main() { let _ = Node::<Vec<()>>(Vec::new()); }
This is valid rust code (taken from the rustc test suite).
The text was updated successfully, but these errors were encountered:
Another fun one:
trait A<T> {} struct B<T> where B<T>: A<B<T>> { t: T }
Sorry, something went wrong.
No branches or pull requests
This causes a stack overflow, presumably related to trait resolution:
This is valid rust code (taken from the rustc test suite).
The text was updated successfully, but these errors were encountered: