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
Restart the RA LSP — the code passes the initial check.
Make a minor change (e.g., add a space somewhere in the code) to trigger a recheck in RA. RA now reports an error: expected Arc<Mutex<dyn FnMut(i32) -> i32>, Global>, found Arc<Mutex<{closure#1}>, Global> rust-analyzer ([E0308](https://doc.rust-lang.org/stable/error_codes/E0308.html))
The text was updated successfully, but these errors were encountered:
rust-analyzer version: both stable and pre-release (0.3.2273-standalone (248bd51 2025-01-18) and 0.4.2276-standalone (0b68402 2025-01-21))
rustc version: rustc 1.84.0 (9fc6b4312 2025-01-07)
editor or extension: VSCode
relevant settings: rustc_wrapper = sccache
repository link (if public, optional): None
code snippet to reproduce:
reproduce:
expected Arc<Mutex<dyn FnMut(i32) -> i32>, Global>, found Arc<Mutex<{closure#1}>, Global> rust-analyzer ([E0308](https://doc.rust-lang.org/stable/error_codes/E0308.html))
The text was updated successfully, but these errors were encountered: