rust/src/test
Tim Chevalier daf28a421a 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
2012-11-30 12:45:10 -08:00
..
auxiliary Disallow dereferencing enum types when the variant is private 2012-11-30 12:45:10 -08:00
bench librustc: Make the Drop trait use explicit self 2012-11-29 11:06:15 -08:00
compile-fail Disallow dereferencing enum types when the variant is private 2012-11-30 12:45:10 -08:00
pretty Un-xfail working tests 2012-11-15 19:36:44 -08:00
run-fail librustc: Make the Drop trait use explicit self 2012-11-29 11:06:15 -08:00
run-pass impls of traits cannot define methods on the anonymous trait 2012-11-29 22:07:49 -08:00
run-pass-fulldeps syntax: switch tt quoter to emit ~[tt], not tt. 2012-11-20 16:08:05 -08:00