]>
Commit | Line | Data |
---|---|---|
0bf4aa26 XL |
1 | // aux-build:proc_macro.rs |
2 | // build-aux-docs | |
3 | ||
0bf4aa26 XL |
4 | extern crate some_macros; |
5 | ||
6 | // @has proc_macro/index.html | |
e1599b0c XL |
7 | // @has - '//a/@href' 'macro.some_proc_macro.html' |
8 | // @has - '//a/@href' 'attr.some_proc_attr.html' | |
9 | // @has - '//a/@href' 'derive.SomeDerive.html' | |
10 | // @has proc_macro/macro.some_proc_macro.html | |
11 | // @has proc_macro/attr.some_proc_attr.html | |
12 | // @has proc_macro/derive.SomeDerive.html | |
13 | ||
14 | // @has proc_macro/macro.some_proc_macro.html | |
15 | // @has - 'a proc-macro that swallows its input and does nothing.' | |
16 | pub use some_macros::some_proc_macro; | |
17 | ||
18 | // @has proc_macro/macro.reexported_macro.html | |
19 | // @has - 'Doc comment from the original crate' | |
20 | pub use some_macros::reexported_macro; | |
21 | ||
22 | // @has proc_macro/attr.some_proc_attr.html | |
23 | // @has - 'a proc-macro attribute that passes its item through verbatim.' | |
24 | pub use some_macros::some_proc_attr; | |
25 | ||
26 | // @has proc_macro/derive.SomeDerive.html | |
27 | // @has - 'a derive attribute that adds nothing to its input.' | |
28 | pub use some_macros::SomeDerive; | |
74b04a01 XL |
29 | |
30 | // @has proc_macro/attr.first_attr.html | |
31 | // @has - 'Generated doc comment' | |
32 | pub use some_macros::first_attr; | |
33 | ||
34 | // @has proc_macro/attr.second_attr.html | |
35 | // @has - 'Generated doc comment' | |
36 | pub use some_macros::second_attr; |