mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
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) }
|