Skip to content

infinite size recursive struct using a fixed-size array ICEs instead of an error #5146

Closed
@thestinger

Description

@thestinger
struct Foo {
    bar: [Option<Foo> * 2]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-codegenArea: Code generationA-type-systemArea: Type systemI-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