1. 05 5月, 2019 2 次提交
  2. 04 5月, 2019 3 次提交
  3. 02 5月, 2019 3 次提交
  4. 29 4月, 2019 1 次提交
  5. 27 4月, 2019 1 次提交
  6. 26 4月, 2019 3 次提交
  7. 25 4月, 2019 1 次提交
  8. 23 4月, 2019 1 次提交
  9. 18 4月, 2019 1 次提交
  10. 17 4月, 2019 1 次提交
  11. 14 4月, 2019 1 次提交
  12. 04 4月, 2019 1 次提交
  13. 29 3月, 2019 1 次提交
    • D
      Implement `#[non_exhaustive]` on variants. · 3a88cd77
      David Wood 提交于
      This commit removes the check that disallows the `#[non_exhaustive]`
      attribute from being placed on enum variants and removes the associated
      tests.
      
      Further, this commit lowers the visibility of enum variant constructors
      when the variant is marked as non-exhaustive.
      3a88cd77
  14. 28 3月, 2019 1 次提交
  15. 25 3月, 2019 2 次提交
  16. 24 3月, 2019 4 次提交
    • V
    • V
    • V
      Remove `VariantDef::parent_did` · 7f5a8dcd
      Vadim Petrochenkov 提交于
      7f5a8dcd
    • D
      Separate variant id and variant constructor id. · 5c3d1e5d
      David Wood 提交于
      This commit makes two changes - separating the `NodeId` that identifies
      an enum variant from the `NodeId` that identifies the variant's
      constructor; and no longer creating a `NodeId` for `Struct`-style enum
      variants and structs.
      
      Separation of the variant id and variant constructor id will allow the
      rest of RFC 2008 to be implemented by lowering the visibility of the
      variant's constructor without lowering the visbility of the variant
      itself.
      
      No longer creating a `NodeId` for `Struct`-style enum variants and
      structs mostly simplifies logic as previously this `NodeId` wasn't used.
      There were various cases where the `NodeId` wouldn't be used unless
      there was an unit or tuple struct or enum variant but not all uses of
      this `NodeId` had that condition, by removing this `NodeId`, this must
      be explicitly dealt with. This change mostly applied cleanly, but there
      were one or two cases in name resolution and one case in type check
      where the existing logic required a id for `Struct`-style enum variants
      and structs.
      5c3d1e5d
  17. 18 3月, 2019 1 次提交
  18. 17 3月, 2019 1 次提交
  19. 15 3月, 2019 5 次提交
  20. 13 3月, 2019 1 次提交
  21. 10 3月, 2019 1 次提交
  22. 09 3月, 2019 1 次提交
  23. 07 3月, 2019 1 次提交
  24. 06 3月, 2019 2 次提交