Uh oh!
There was an error while loading. Please reload this page.
rustdoc: Turn JsonRenderer::mod_item_in into unreachable!() - #84459
Conversation
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
nit: This can also be make unreachable!
There was a problem hiding this comment.
Oh hmm, I think I was assuming this already had the changes from https://github.com/rust-lang/rust/pull/84458/files#diff-46f011cf734f3de35eddca150990366cc41bd8eaf3945a241b2a2f79c5bb77eaR40. Do you think it's important to add the assert given that this function gets removed altogether there? Or is it fine to have it silently do nothing? If the latter I'd prefer to leave this as-is to avoid merge conflicts.
There was a problem hiding this comment.
I think its fine to leave then, as it would be very wierd to call mod_item_out without mod_item_in
aDotInTheVoid
commented
Apr 23, 2021
2 Minor nits, also I cant approve because I don't have r+ rights. |
jyn514
commented
Apr 23, 2021
@bors delegate=aDotInTheVoid |
bors
commented
Apr 23, 2021
✌️ @aDotInTheVoid can now approve this pull request |
aDotInTheVoid
commented
Apr 23, 2021
@bors r+ |
bors
commented
Apr 23, 2021
📌 Commit 315bfdb84868f2e72f1e13a44ed8f5a9ba367c82 has been approved by |
jyn514
commented
Apr 23, 2021
Thanks for the review! |
This comment has been minimized.
This comment has been minimized.
The JSON renderer no longer gets called on modules.
jyn514
commented
Apr 24, 2021
@bors r=aDotInTheVoid |
bors
commented
Apr 24, 2021
📌 Commit 03ace76 has been approved by |
rustdoc: Turn `JsonRenderer::mod_item_in` into `unreachable!()` The JSON renderer no longer gets called on modules (since rust-lang#83055). r? `@aDotInTheVoid`
Rollup of 8 pull requests Successful merges: - rust-lang#83519 (Implement a lint that highlights all moves larger than a configured limit) - rust-lang#84105 (stabilize `core::array::{from_ref,from_mut}` in `1.53.0`) - rust-lang#84179 (Explicitly implement `!Send` and `!Sync` for `sys::{Args, Env}`) - rust-lang#84427 (Update Clippy) - rust-lang#84459 (rustdoc: Turn `JsonRenderer::mod_item_in` into `unreachable!()`) - rust-lang#84460 (rustdoc: Remove unnecessary `is_crate` field from doctree::Module and clean::Module) - rust-lang#84464 (rustdoc: Get rid of `clean::TypeKind`) - rust-lang#84518 (Clean up DOM strings) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
The JSON renderer no longer gets called on modules (since #83055).
r? @aDotInTheVoid