diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-11-30 11:24:16 -0800 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-11-30 12:45:10 -0800 |
| commit | daf28a421aece474dfcd4c5185709ca789fe29e3 (patch) | |
| tree | 4d7a357363dec4e51049ea989b2731161234c3b4 /src/libsyntax/parse/parser.rs | |
| parent | f89d4ac8306dbe597f0bfef7cf92bea372eece1d (diff) | |
| download | rust-daf28a421aece474dfcd4c5185709ca789fe29e3.tar.gz rust-daf28a421aece474dfcd4c5185709ca789fe29e3.zip | |
Disallow dereferencing enum types when the variant is private
If an enum type's only variant is private, disallow dereferencing values of its type. Due to #4082, this only applies to enums that are in the same crate. r=pcwalton Closes #818
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
0 files changed, 0 insertions, 0 deletions
