blob: 3ff6242c1119cc8a4880666e7f98c98ef3127477 [file] [log] [blame]
Copyright ⓒ 2015 rust-custom-derive contributors.
Licensed under the MIT license (see LICENSE or <
/licenses/MIT>) or the Apache License, Version 2.0 (see LICENSE of
<>), at your option. All
files in the project carrying such notice may not be copied, modified,
or distributed except according to those terms.
#[macro_use] extern crate custom_derive;
extern crate rustc_serialize;
custom_derive! {
#[derive(Clone, Hash, RustcEncodable, RustcDecodable, PartialEq, Eq, PartialOrd, Ord, Debug, Default, Copy)]
pub struct Dummy(u32);
fn test_passthru_derive() {}