Debian Codegraph @

tests/passthru_derive.rs

raw symbols SCIP
1 /*
2 Copyright ⓒ 2015 macro-attr contributors.
3
4 Licensed under the MIT license (see LICENSE or <http://opensource.org
5 /licenses/MIT>) or the Apache License, Version 2.0 (see LICENSE of
6 <http://www.apache.org/licenses/LICENSE-2.0>), at your option. All
7 files in the project carrying such notice may not be copied, modified,
8 or distributed except according to those terms.
9 */
10 #[macro_use] extern crate macro_attr;
11 extern crate rustc_serialize;
12
13 macro_attr! {
14 #[derive(Clone, Hash, RustcEncodable, RustcDecodable, PartialEq, Eq, PartialOrd, Ord, Debug, Default, Copy)]
15 pub struct Dummy(u32);
16 }
17
18 #[test]
19 fn test_passthru_derive() {}