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_attrrust-analyzer cargo macro-attr 0.2.0 macro_attr/;
11 extern crate rustc_serializerust-analyzer cargo macro-attr 0.2.0 rustc_serialize/;
12
13 macro_attrrust-analyzer cargo macro-attr 0.2.0 macro_attr!! {
14 #[derive(Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:, Hashrust-analyzer cargo core https://github.com/rust-lang/rust/library/core hash/macros/Hash:, RustcEncodable, RustcDecodable, PartialEqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialEq:, Eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Eq:, PartialOrdrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialOrd:, Ordrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Ord:, Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:, Defaultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core default/Default:, Copyrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Copy:)]
15 pub struct Dummyrust-analyzer cargo macro-attr 0.2.0 Dummy#(u32);
16 }
17
18 #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:]
19 fn test_passthru_deriverust-analyzer cargo macro-attr 0.2.0 test_passthru_derive().() {}