5 extern crate rustc_serialize;
7 #[derive(RustcEncodable)] pub struct A;
8 #[derive(RustcEncodable)] pub struct B(isize);
9 #[derive(RustcEncodable)] pub struct C { x: isize }
10 #[derive(RustcEncodable)] pub enum D {}
11 #[derive(RustcEncodable)] pub enum E { y }
12 #[derive(RustcEncodable)] pub enum F { z(isize) }