-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollup of 4 pull requests #64567
Rollup of 4 pull requests #64567
Conversation
This pulls in rust-lang/cargo#7159, which ensures that documenting proc macros works correctly.
This ensures that we match the order used by proc macro metadata serialization. Fixes rust-lang#64251
…petrochenkov Print out more information for `-Zunpretty=expanded,hygiene` I've found this helpful when trying to understand how hygiene works. Closes rust-lang#16420
update Nomicon and Reference Cc @Centril
…excrichton Load proc macro metadata in the correct order. Serialized proc macro metadata is assumed to have a one-to-one correspondence with the entries in static array generated by proc_macro_harness. However, we were previously serializing proc macro metadata in a different order than proc macros were laied out in the static array. This lead to us associating the wrong data with a proc macro when generating documentation, causing Rustdoc to generate incorrect docs for proc macros. This commit keeps track of the order in which we insert proc macros into the generated static array. We use this same order when serializing proc macro metadata, ensuring that we can later associate the metadata for a proc macro with its entry in the static array. Fixes rust-lang#64251
Update Cargo This pulls in rust-lang/cargo#7159, which ensures that documenting proc macros works correctly.
@bors r+ p=4 |
📌 Commit 4d94422 has been approved by |
⌛ Testing commit 4d94422 with merge 9c227d1e30c7a213ce2da303184f4855772ecdeb... |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
💔 Test failed - checks-azure |
Successful merges:
-Zunpretty=expanded,hygiene
#64486 (Print out more information for-Zunpretty=expanded,hygiene
)Failed merges:
r? @ghost