13 lines
335 B
Rust
13 lines
335 B
Rust
#[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) }
|