2018-09-25 16:30:19 -05:00
|
|
|
//@ aux-build:proc_macro.rs
|
|
|
|
//@ build-aux-docs
|
|
|
|
|
|
|
|
extern crate some_macros;
|
|
|
|
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has proc_macro/index.html
|
|
|
|
//@ has - '//a/@href' 'macro.some_proc_macro.html'
|
|
|
|
//@ has - '//a/@href' 'attr.some_proc_attr.html'
|
|
|
|
//@ has - '//a/@href' 'derive.SomeDerive.html'
|
|
|
|
//@ has proc_macro/macro.some_proc_macro.html
|
|
|
|
//@ has proc_macro/attr.some_proc_attr.html
|
|
|
|
//@ has proc_macro/derive.SomeDerive.html
|
|
|
|
|
|
|
|
//@ has proc_macro/macro.some_proc_macro.html
|
|
|
|
//@ hasraw - 'a proc-macro that swallows its input and does nothing.'
|
2019-09-17 18:07:35 -05:00
|
|
|
pub use some_macros::some_proc_macro;
|
2019-07-20 15:34:41 -05:00
|
|
|
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has proc_macro/macro.reexported_macro.html
|
|
|
|
//@ hasraw - 'Doc comment from the original crate'
|
2019-07-20 15:34:41 -05:00
|
|
|
pub use some_macros::reexported_macro;
|
2019-09-17 18:07:35 -05:00
|
|
|
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has proc_macro/attr.some_proc_attr.html
|
|
|
|
//@ hasraw - 'a proc-macro attribute that passes its item through verbatim.'
|
2019-09-17 18:07:35 -05:00
|
|
|
pub use some_macros::some_proc_attr;
|
|
|
|
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has proc_macro/derive.SomeDerive.html
|
|
|
|
//@ hasraw - 'a derive attribute that adds nothing to its input.'
|
2019-09-17 18:07:35 -05:00
|
|
|
pub use some_macros::SomeDerive;
|
2020-02-03 17:34:36 -06:00
|
|
|
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has proc_macro/attr.first_attr.html
|
|
|
|
//@ hasraw - 'Generated doc comment'
|
2020-02-03 17:34:36 -06:00
|
|
|
pub use some_macros::first_attr;
|
|
|
|
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has proc_macro/attr.second_attr.html
|
|
|
|
//@ hasraw - 'Generated doc comment'
|
2020-02-03 17:34:36 -06:00
|
|
|
pub use some_macros::second_attr;
|