Skip to content

Nested tuples {unknown} #12675

Closed
Closed
@danielhuang

Description

@danielhuang

rust-analyzer version: rust-analyzer version: 0.0.0 (3410102 2022-06-30) (built locally)

also occurs on https://ra-wasm.netlify.app/

rustc version: rustc 1.64.0-nightly (7425fb293 2022-06-30)


Given the following code:

use std::collections::HashMap;

fn main() {
    let map: HashMap<_, _> = [((1, 2), 3), ((4, 5), 6)].into_iter().collect();
}

rust-analyzer reports:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-macromacro expansionA-tytype system / type inference / traits / method resolutionC-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions