about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2012-11-30 11:24:16 -0800
committerTim Chevalier <chevalier@alum.wellesley.edu>2012-11-30 12:45:10 -0800
commitdaf28a421aece474dfcd4c5185709ca789fe29e3 (patch)
tree4d7a357363dec4e51049ea989b2731161234c3b4 /src/libsyntax/parse/parser.rs
parentf89d4ac8306dbe597f0bfef7cf92bea372eece1d (diff)
downloadrust-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