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
trait A { type B: B<A=Self>; } trait B { type A: A<B=Self>; } struct C<T: A> { b: T::B } fn func<T:A>(c: C<T>) { let unknown: T::B = c.b; }
Breaking the cycle by removing one Self bound would solve ths issue.
Self
rust-analyzer version: 0.3.1402-standalone
rustc version: rustc 1.67.0-nightly (c1a859b25 2022-11-10)
relevant settings
The text was updated successfully, but these errors were encountered:
Duplicate of #12897, which is closed but tracked in upstream issue rust-lang/chalk#773.
Sorry, something went wrong.
No branches or pull requests
Minimal Reproducible Example
Breaking the cycle by removing one
Self
bound would solve ths issue.rust-analyzer version: 0.3.1402-standalone
rustc version: rustc 1.67.0-nightly (c1a859b25 2022-11-10)
relevant settings
The text was updated successfully, but these errors were encountered: