blob: af3d75b3bf21619fd3365c291ef234e78a72297a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#[crate_type="lib"]
// #13544
extern crate rustc_serialize;
#[derive(RustcEncodable)] pub struct A;
#[derive(RustcEncodable)] pub struct B(isize);
#[derive(RustcEncodable)] pub struct C { x: isize }
#[derive(RustcEncodable)] pub enum D {}
#[derive(RustcEncodable)] pub enum E { y }
#[derive(RustcEncodable)] pub enum F { z(isize) }
|