Skip to content

ICE on recursive struct #62838

Closed
Closed
@sgrif

Description

@sgrif

repro code:

https://gist.github.com/sgrif/959bb5f820a0c9a616f569ea2195ff7c

Expression on line 68 should be Box<Expression>, introducing the indirection fixes the ICE. I haven't attempted to reduce beyond this example.

rustc 1.36.0 (a53f9df32 2019-07-03)

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.E-needs-mcveCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleI-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️P-mediumMedium priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions