Closed
Description
rust-analyzer version: rust-analyzer version: 9490120 2022-05-01 dev
rustc version: rustc 1.60.0 (7737e0b5c 2022-04-04)
relevant settings:
"rust-analyzer.diagnostics.experimental.enable": true,
Given the following code:
defaultmap = "0.5.0"
use defaultmap::DefaultHashMap;
fn main() {
let mut map = DefaultHashMap::new(0);
map[(0, 0)] = 1;
}
Metadata
Metadata
Assignees
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
danielhuang commentedon Jul 1, 2022
May be related to #12675
flodiebold commentedon Jul 3, 2022
Yeah, this is probably the same problem.
[-]Type mismatch[/-][+]Type mismatch with tuple keys in DefaultHashMap[/+]danielhuang commentedon Jul 17, 2022
Fixed along with #12675