Add tests for tuple-like structs and dictionary-like enum variants

This commit is contained in:
Seo Sanghyeon 2015-06-12 21:09:17 +09:00
parent 16d5c83d5f
commit 793d9fcb52

View file

@ -47,6 +47,14 @@ enum MoreBadness<V> {
EvenMoreBadness(Bar<V>), //~ ERROR not implemented
}
struct TupleLike(
Foo<i32>, //~ ERROR not implemented
);
enum Enum {
DictionaryLike { field: Bar<i32> }, //~ ERROR not implemented
}
trait PolyTrait<T>
{
fn whatever(&self, t: T) {}