2 #![allow(non_shorthand_field_patterns)]
18 type S4<U> = S3<U, char>;
34 // check that generics can be specified from the pattern
46 assert_eq!(mem::size_of_val(&x), 1);
49 // check that generics can be specified from the constructor
61 assert_eq!(mem::size_of_val(&x), 2);