Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upmake empty enums non-affine #10278
Comments
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this issue
Nov 6, 2013
nikomatsakis
closed this
in
f3191a4
Nov 6, 2013
willingc
added a commit
to willingc/rust
that referenced
this issue
Nov 12, 2013
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nikomatsakis commentedNov 5, 2013
Today empty enums are affine. I can't think of a reason for this to be. There is this comment in the source that says: "we somewhat arbitrary declare that empty enums are non-copyable". For all I know I wrote it. Anyway, in my rewrite of type contents, I forgot to reproduce this arbitrary rule, and I'm not inclined to add it back unless someone objects.