2014-04-15 02:58:50 -05:00
|
|
|
#[crate_type="lib"]
|
|
|
|
|
|
|
|
// #13544
|
|
|
|
|
2020-06-02 14:46:42 -05:00
|
|
|
extern crate rustc_serialize;
|
2014-04-15 02:58:50 -05:00
|
|
|
|
2019-07-27 07:06:49 -05:00
|
|
|
#[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) }
|