You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tested on nightly today and I still see this issue. The issue is also present in the May 9 release, but it is not present in the May 2 release.
This may be related to the closed issue #12211 (comment), but I don't know enough to say whether or not these are the same. I will test on nightly again once a nightly build is available with this patch.
If I can reproduce after testing with nightly tonight or tomorrow, I will @ matklad, and say that this is an urgent issue, but I don't want to escalate this until I am sure it hasn't already been fixed.
The text was updated successfully, but these errors were encountered:
msdrigg
changed the title
Request textDocument/semanticTokens/full failed on nightly and 05/09 release
Request textDocument/semanticTokens/full failed on nightly and May 9 release
May 12, 2022
I can verify that this is still an issue. I see you unassigned matklad, so I won't tag him, but I wanted to confirm to someone that this issue still exists and was not resloved by #12211
The only thing I see that changed is that instead of getting the panic at crates/mbe/src/syntax_bridge.rs:275:29, I am now getting it at crates/mbe/src/syntax_bridge.rs:277:29
Looking at the exact commit, it appears that we are seeing this panic.
Uh oh!
There was an error while loading. Please reload this page.
In the latest release, Rust Analyzer has become unusable for one of the projects I am working on.
I am seeing repeated alerts saying
These all appear to be related to a panic at
crates/mbe/src/syntax_bridge.rs:275:29
Verbose Log
Verbose Logs
Panic context:>
version: 94fa8a6 2022-05-12 nightly
thread '<unnamed>' panicked at 'assertion failed:
(left == right)
left:
DOT
,right:
FLOAT_NUMBER_PART
', crates/mbe/src/syntax_bridge.rs:275:29stack backtrace:
[Error - 6:23:11 PM] Request textDocument/inlayHint failed.
Message: request handler panicked: assertion failed:
(left == right)
left:
DOT
,right:
FLOAT_NUMBER_PART
Code: -32603
Minimum Reproducible Example
(No dependencies. Only one file)
If you delete
func_bad
, rust-analyzer works as expectedAdditionally, if you replace
with
rust-analyzer works as expected
Additional Notes
I tested on nightly today and I still see this issue. The issue is also present in the May 9 release, but it is not present in the May 2 release.
This may be related to the closed issue #12211 (comment), but I don't know enough to say whether or not these are the same. I will test on nightly again once a nightly build is available with this patch.
If I can reproduce after testing with nightly tonight or tomorrow, I will @ matklad, and say that this is an urgent issue, but I don't want to escalate this until I am sure it hasn't already been fixed.
The text was updated successfully, but these errors were encountered: