]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/inline_cross/proc_macro.rs
Improve Rustdoc's handling of procedural macros
[rust.git] / src / test / rustdoc / inline_cross / proc_macro.rs
1 // aux-build:proc_macro.rs
2 // build-aux-docs
3
4 extern crate some_macros;
5
6 // @has proc_macro/index.html
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 pub use some_macros::{some_proc_macro, some_proc_attr, SomeDerive};
14
15 // @has proc_macro/macro.reexported_macro.html
16 // @has - 'Doc comment from the original crate'
17 pub use some_macros::reexported_macro;