Skip to content

cannot use an outer type parameter in this context #39211

Closed
@yongqli

Description

@yongqli

I get the error:

error[E0402]: cannot use an outer type parameter in this context
  --> <anon>:11:17
   |
11 |     let a = [3; M::Row::DIM];
   |                 ^^^^^^^^^^^

error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.

https://gist.github.com/73a223aa33c081bf47d84c2bf52fcc19

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.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