2024-02-22 12:10:29 +00:00
|
|
|
//@ aux-build:proc_macro.rs
|
|
|
|
//@ build-aux-docs
|
2018-09-25 21:30:19 +00:00
|
|
|
|
|
|
|
extern crate some_macros;
|
|
|
|
|
2024-06-21 12:03:08 +00: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 23:07:35 +00:00
|
|
|
pub use some_macros::some_proc_macro;
|
2019-07-20 20:34:41 +00:00
|
|
|
|
2024-06-21 12:03:08 +00:00
|
|
|
//@ has proc_macro/macro.reexported_macro.html
|
|
|
|
//@ hasraw - 'Doc comment from the original crate'
|
2019-07-20 20:34:41 +00:00
|
|
|
pub use some_macros::reexported_macro;
|
2019-09-17 23:07:35 +00:00
|
|
|
|
2024-06-21 12:03:08 +00:00
|
|
|
//@ has proc_macro/attr.some_proc_attr.html
|
|
|
|
//@ hasraw - 'a proc-macro attribute that passes its item through verbatim.'
|
2019-09-17 23:07:35 +00:00
|
|
|
pub use some_macros::some_proc_attr;
|
|
|
|
|
2024-06-21 12:03:08 +00:00
|
|
|
//@ has proc_macro/derive.SomeDerive.html
|
|
|
|
//@ hasraw - 'a derive attribute that adds nothing to its input.'
|
2019-09-17 23:07:35 +00:00
|
|
|
pub use some_macros::SomeDerive;
|
2020-02-03 23:34:36 +00:00
|
|
|
|
2024-06-21 12:03:08 +00:00
|
|
|
//@ has proc_macro/attr.first_attr.html
|
|
|
|
//@ hasraw - 'Generated doc comment'
|
2020-02-03 23:34:36 +00:00
|
|
|
pub use some_macros::first_attr;
|
|
|
|
|
2024-06-21 12:03:08 +00:00
|
|
|
//@ has proc_macro/attr.second_attr.html
|
|
|
|
//@ hasraw - 'Generated doc comment'
|
2020-02-03 23:34:36 +00:00
|
|
|
pub use some_macros::second_attr;
|