-
Notifications
You must be signed in to change notification settings - Fork 1.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
Associated types in constraints are not normalized #3232
Labels
A-ty
type system / type inference / traits / method resolution
E-has-instructions
Issue has some instructions and pointers to code to get started
Comments
lnicola
added
A-ty
type system / type inference / traits / method resolution
E-has-instructions
Issue has some instructions and pointers to code to get started
labels
Feb 19, 2020
Interestingly, |
@flodiebold should I file a new issue for the |
It looks like that's just another case of rust-lang/chalk#234, though I have no idea why it works with &. We could maybe add it to #2603 and make that the list of cases to check once the Chalk issue is resolved 😅 |
cjhopman
pushed a commit
to cjhopman/rust-analyzer
that referenced
this issue
Apr 10, 2020
lnicola
pushed a commit
to lnicola/rust-analyzer
that referenced
this issue
Apr 7, 2024
Automatic Rustup
RalfJung
pushed a commit
to RalfJung/rust-analyzer
that referenced
this issue
Apr 27, 2024
Automatic Rustup
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-ty
type system / type inference / traits / method resolution
E-has-instructions
Issue has some instructions and pointers to code to get started
Possibly unrelated, but inference no longer works if the code is changed to
F: FnOnce(X::O)
.F: FnOnce(X)
is fine, though.Split off #3138.
https://github.com/rust-analyzer/rust-analyzer/blob/eb804261dce7f13056566377148a41f460feed28/crates/ra_hir_ty/src/infer.rs#L410 might need to be called on types returned by
chalk
.The text was updated successfully, but these errors were encountered: