about summary refs log tree commit diff
path: root/src/test/compile-fail/private_variant_2.rs
AgeCommit message (Collapse)AuthorLines
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-1/+1
rs=implflipping
2012-12-10Reliciense makefiles and testsuite. Yup.Graydon Hoare-0/+10
2012-11-30Disallow dereferencing enum types when the variant is privateTim Chevalier-0/+7
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