-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
A-new-solverBugs from the new solver migration - should be fixed before stable releaseBugs from the new solver migration - should be fixed before stable releaseA-tytype system / type inference / traits / method resolutiontype system / type inference / traits / method resolutionC-bugCategory: bugCategory: bug
Description
rust-analyzer version: rust-analyzer 0.4.2595-standalone
rustc version: rustc 1.91.0-nightly (040a98af7 2025-08-20)
editor or extension: VIM
code snippet to reproduce:
fn main() {
(0i32..5i32).partition::<Vec<_>, _>(|n| {
let _x = n.checked_add(3);
true
});
}
Hover in _x
output:
let _x: {unknown}
──────────────────────────────────────────────────────────────────────────────
Implements notable traits: Future<Output = ?>, Iterator<Item = ?>, Read, Write
──────────────────────────────────────────────────────────────────────────────
no Drop
Metadata
Metadata
Assignees
Labels
A-new-solverBugs from the new solver migration - should be fixed before stable releaseBugs from the new solver migration - should be fixed before stable releaseA-tytype system / type inference / traits / method resolutiontype system / type inference / traits / method resolutionC-bugCategory: bugCategory: bug