Skip to content

enum documentation not updated for RFC 2195 #786

Description

@RalfJung

https://doc.rust-lang.org/reference/items/enumerations.html#custom-discriminant-values-for-field-less-enumerations talks about "Custom Discriminant Values for Field-Less Enumerations", but does not mention at all that since https://github.com/rust-lang/rfcs/blob/master/text/2195-really-tagged-unions.md Rust also supports custom discriminant values and defined layout for enums with fields.

Activity

  1. ehuss commented on Apr 4, 2020

    @ehuss
    Contributor

    It looks like there was an attempt to do this at #246 that wasn't completed.

  2. Havvy commented on Aug 19, 2020

    @Havvy
    Contributor

    cc-ing @poliorcetics as requested in Zulip.

  3. poliorcetics commented on Aug 21, 2020

    @poliorcetics
    Contributor

    Opened #879 to hopefully fix this.

  4. added a commit that references this issue on Sep 4, 2020
    66b4d58
  5. added a commit that references this issue on Sep 16, 2020
    200e1d3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions