Skip to content

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

Closed

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

  1. added
    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.
    on Aug 11, 2022
  2. compiler-errors commented on Aug 11, 2022

    @compiler-errors
    Contributor

    Found the bug. PR incoming.

    @rustbot claim

  3. added a commit that references this issue on Aug 14, 2022
    d46451c
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