diff options
| author | bors <bors@rust-lang.org> | 2020-02-16 01:46:05 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-02-16 01:46:05 +0000 |
| commit | 2a0d1cbd4674a6b2a58832513ecb2e97538f2c4a (patch) | |
| tree | ecd466a7b83d89a9973d9147f43f554494f86a93 /src/test/rustdoc/inline_cross/proc_macro.rs | |
| parent | 8ba3ca0e6bef416ecba3c8ded1f67a953d28600f (diff) | |
| parent | 516459870cf0fe13979aaa568bfc413e2e5bba18 (diff) | |
Auto merge of #68814 - Aaron1011:fix/proc-macro-order-two, r=petrochenkov
Record proc macro harness order for use during metadata deserialization Fixes #68690 When we generate the proc macro harness, we now explicitly recorder the order in which we generate entries. We then use this ordering data to deserialize the correct proc-macro-data from the crate metadata.
Diffstat (limited to 'src/test/rustdoc/inline_cross/proc_macro.rs')
| -rw-r--r-- | src/test/rustdoc/inline_cross/proc_macro.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/rustdoc/inline_cross/proc_macro.rs b/src/test/rustdoc/inline_cross/proc_macro.rs index 3dc8de3fe57..532a295c0f3 100644 --- a/src/test/rustdoc/inline_cross/proc_macro.rs +++ b/src/test/rustdoc/inline_cross/proc_macro.rs @@ -26,3 +26,11 @@ pub use some_macros::some_proc_attr; // @has proc_macro/derive.SomeDerive.html // @has - 'a derive attribute that adds nothing to its input.' pub use some_macros::SomeDerive; + +// @has proc_macro/attr.first_attr.html +// @has - 'Generated doc comment' +pub use some_macros::first_attr; + +// @has proc_macro/attr.second_attr.html +// @has - 'Generated doc comment' +pub use some_macros::second_attr; |
