Skip to content

Internal Compile Error on array without colon #23835

Closed
@bftjoe

Description

@bftjoe

fn main() {
let xs[i32; 1] = [1];
}

2:9: 2:11 error: internal compiler error: ident only path should have been covered already
2 let xs[i32; 1] = [1];
^~
note: the compiler unexpectedly panicked. this is a bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions