Skip to content

MIR generates Unreachable in fewer situations than before #41446

Closed
@oli-obk

Description

@oli-obk

rust-lang/miri#157 (comment) for details

Either the Unreachable statement should be removed from MIR or it should be generated at all locations that produce a value of an empty type

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.T-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