panicked at 'mismatched kinds in substitution' #11835
Labels
A-ty
type system / type inference / traits / method resolution
Broken Window
Bugs / technical debt to be addressed immediately
Background
I use the VSCode rust-analyzer extension with version v0.3.992 Pre-Release. I tried switching to release version, this didn't fix my problem. You can find the code I am currently working with here: https://github.com/Felix-Droop/brute1000
I already found a similar and closed issue here: #11717
But I think my version is recent enough such that this should not be the exact same problem (not completely sure though).
rust-analyzer version: rust-analyzer version: bc08b8e 2022-03-28 nightly
rustc version: rustc 1.59.0 (9d1b2106e 2022-02-23)
relevant settings: Should all be default^^
My problem
I get error messages from VSCode for some editing actions I do. The messages say the following:
Request textDocument/semanticTokens/full/delta failed.
Request textDocument/hover failed.
Request textDocument/signatureHelp failed.
One example of how I get the error is removing the comments here (inside VSCode using Ctrl+#): https://github.com/Felix-Droop/brute1000/blob/master/src/main.rs#L25-L35
As expected by the error messages, I get no code coloring, no hover help, etc. (for this block; for other parts of the code it works). In the following I will post the one examplary output from the VSCode Output field for the error messages:
Output
The text was updated successfully, but these errors were encountered: