-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
[rustdoc][JSON] Use exclusively externally tagged enums in the JSON representation #111427
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @GuillaumeGomez (or someone else) soon. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
This comment has been minimized.
This comment has been minimized.
Looks good to me. cc @aDotInTheVoid |
This also needs to bump |
Milestone achieved: more than half of the test suite is green now, but many more to go 😭 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
rustdoc-json-types is a public (although nightly-only) API. If possible, consider changing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥🚀 Thanks, Luca!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a heroic effort, thanks so much for doing it.
In addition to the minor things above, could you rebase this to follow the no merge policy, and to squash all the test changes into a single commit
Also, it's worth adding |
…ith binary formats such as bincode or postcard
These commits modify the If this was unintentional then you should revert the changes before this PR is merged. |
I've added |
r=me when CI passes |
@bors r+ |
Thank you both for getting this in so quickly! 🙌 |
Don't celebrate till it gets through bors, you'll jinx it 😅 |
Just passing through to say: nice job everyone! :) |
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#111427 ([rustdoc][JSON] Use exclusively externally tagged enums in the JSON representation) - rust-lang#111486 (Pretty-print inherent projections correctly) - rust-lang#111722 (Document stack-protector option) - rust-lang#111761 (fix(resolve): not defined `extern crate shadow_name`) - rust-lang#111845 (Update books) - rust-lang#111851 (CFI: Fix encode_region: unexpected ReEarlyBound(0, 'a)) - rust-lang#111871 (Migrate GUI colors test to original CSS color format) r? `@ghost` `@rustbot` modify labels: rollup
After rust-lang#111427, no item has a `kind` field, so these assertions could never fail. Instead, assert that those two items arn't present.
…omez rustdoc-json: Fix test so it actually checks things After rust-lang#111427, no item has a `kind` field, so these assertions could never fail. Instead, assert that those two items arn't present. r? `@GuillaumeGomez`
Rollup merge of rust-lang#117751 - aDotInTheVoid:unkind, r=GuillaumeGomez rustdoc-json: Fix test so it actually checks things After rust-lang#111427, no item has a `kind` field, so these assertions could never fail. Instead, assert that those two items arn't present. r? `@GuillaumeGomez`
See this Zulip thread and this issue for the relevant context.