2018-09-25 16:30:19 -05:00
|
|
|
// aux-build:proc_macro.rs
|
|
|
|
// build-aux-docs
|
|
|
|
|
|
|
|
extern crate some_macros;
|
|
|
|
|
|
|
|
// @has proc_macro/index.html
|
2019-07-20 15:34:41 -05:00
|
|
|
// @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
|
2019-09-17 18:07:35 -05:00
|
|
|
|
|
|
|
// @has proc_macro/macro.some_proc_macro.html
|
2022-08-10 15:10:04 -05:00
|
|
|
// @hastext - '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
|
|
|
|
|
|
|
// @has proc_macro/macro.reexported_macro.html
|
2022-08-10 15:10:04 -05:00
|
|
|
// @hastext - '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
|
|
|
|
|
|
|
// @has proc_macro/attr.some_proc_attr.html
|
2022-08-10 15:10:04 -05:00
|
|
|
// @hastext - '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;
|
|
|
|
|
|
|
|
// @has proc_macro/derive.SomeDerive.html
|
2022-08-10 15:10:04 -05:00
|
|
|
// @hastext - '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
|
|
|
|
|
|
|
// @has proc_macro/attr.first_attr.html
|
2022-08-10 15:10:04 -05:00
|
|
|
// @hastext - 'Generated doc comment'
|
2020-02-03 17:34:36 -06:00
|
|
|
pub use some_macros::first_attr;
|
|
|
|
|
|
|
|
// @has proc_macro/attr.second_attr.html
|
2022-08-10 15:10:04 -05:00
|
|
|
// @hastext - 'Generated doc comment'
|
2020-02-03 17:34:36 -06:00
|
|
|
pub use some_macros::second_attr;
|