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
chomosuke opened this issue
Sep 25, 2022
· 1 comment
Labels
A-tytype system / type inference / traits / method resolutionC-bugCategory: bugI-hangIssue: The analysis never terminates, due to infinite loops, deadlock, livelock, etc.
If the file is changed and saved after that, the diagnostics does not update to reflect the new code.
If I run cargo check, everything seems correct:
The text was updated successfully, but these errors were encountered:
chomosuke
changed the title
rust-analyzer hangs when having &dyn Fn as one of the parameter to another Fn
rust-analyzer hangs when having &dyn Fn... as one of the parameter to another FnSep 25, 2022
jonas-schievink
added
A-ty
type system / type inference / traits / method resolution
C-bug
Category: bug
I-hang
Issue: The analysis never terminates, due to infinite loops, deadlock, livelock, etc.
labels
Jan 31, 2023
A-tytype system / type inference / traits / method resolutionC-bugCategory: bugI-hangIssue: The analysis never terminates, due to infinite loops, deadlock, livelock, etc.
rust-analyzer version: rust-analyzer 0.3.1194-standalone (67920f7 2022-09-04)
rustc version: rustc 1.64.0 (a55dd71d5 2022-09-19)
relevant settings: None, all default
When analyzing the following code, rust analyzer hangs at around 45% of CPU with no stderr output:
If the file is changed and saved after that, the diagnostics does not update to reflect the new code.
If I run cargo check, everything seems correct:
The text was updated successfully, but these errors were encountered: