13 lines
335 B
Rust
Raw Normal View History

#[crate_type="lib"]
// #13544
2020-06-02 22:46:42 +03:00
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) }