Skip to content

Enums with missing stability attributes on variants will compile and ICE only when used #100420

Description

@tbodt

Example: #100399. This was fixed by adding stability attributes (#100418), but the general problem remains that #99573 was able to land.

cc @dtolnay @yaahc

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

C-bugCategory: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️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