-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
A-macromacro expansionmacro expansionBroken WindowBugs / technical debt to be addressed immediatelyBugs / technical debt to be addressed immediatelyC-bugCategory: bugCategory: bug
Description
When hovering over retain
in the following snippet, rust-analyzer does not display any tooltip.
use indexmap::IndexMap; // 1.9.3
fn main() {
let mut map = IndexMap::<(usize, usize), usize>::new();
map.retain(|_, _| true);
}
If the key is changed to just usize
, it starts working again:
use indexmap::IndexMap; // 1.9.3
fn main() {
let mut map = IndexMap::<usize, usize>::new();
map.retain(|_, _| true);
}
std::collections::HashMap
doesn't seem to have the same issue.
rust-analyzer version: rust-analyzer version: 0.3.1524-standalone
rustc version: rustc 1.71.0-nightly (77f4f828a 2023-05-20)
relevant settings: -
Metadata
Metadata
Assignees
Labels
A-macromacro expansionmacro expansionBroken WindowBugs / technical debt to be addressed immediatelyBugs / technical debt to be addressed immediatelyC-bugCategory: bugCategory: bug