mozilla/rust — pull request #4084 by catamorphism (2012-11-30 20:34:30+00:00)
Title: Disallow dereferencing enum types when the variant is private

If an enum type's only variant is private, disallow dereferencing
values of its type, as per #818.

Due to #4082, this only applies to enums that are in the same crate.

r? @pcwalton