-
Notifications
You must be signed in to change notification settings - Fork 13.3k
rustdoc-json: Include items in stripped modules in Crate::paths
.
#135348
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
Conversation
0131c49
to
b1c97aa
Compare
src/tools/jsondocck/src/main.rs
Outdated
@@ -65,6 +65,11 @@ enum CommandKind { | |||
/// Checks the path doesn't exist. | |||
HasNotPath, | |||
|
|||
/// `//@ !has <path> <value>` | |||
/// | |||
/// Checks the path doesn't exist. |
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.
Isn't it supposed to check that the path exists but doesn't have this value?
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.
D'oh! Copy & Paste error. Fixed.
Also, I like your idea of checking the path does exist. I've added that.
b1c97aa
to
24d453e
Compare
This was removed for not being used [1], but now we need it. [1]: rust-lang#133478 (comment)
24d453e
to
2a2b090
Compare
Thanks! @bors r+ rollup |
…uillaumeGomez rustdoc-json: Include items in stripped modules in `Crate::paths`. Closes rust-lang#135309 When we're running rustdoc-json, we should err on the side of adding more items to `Cache::paths`, as that directly becomes `Crate::paths` in the output. r? `@GuillaumeGomez.` Best reviewed commit-by-commit.
…llaumeGomez Rollup of 7 pull requests Successful merges: - rust-lang#135348 (rustdoc-json: Include items in stripped modules in `Crate::paths`.) - rust-lang#135365 (Update the explanation for why we use box_new in vec!) - rust-lang#135383 (De-abstract tagged ptr and make it covariant) - rust-lang#135401 (Remove some empty expected files to fix blessing) - rust-lang#135406 (Update unstable lint docs to include required feature attributes) - rust-lang#135407 (Deny various clippy lints) - rust-lang#135411 (run_make_support: add `#![warn(unreachable_pub)]`) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#135348 - aDotInTheVoid:pathspathspaths, r=GuillaumeGomez rustdoc-json: Include items in stripped modules in `Crate::paths`. Closes rust-lang#135309 When we're running rustdoc-json, we should err on the side of adding more items to `Cache::paths`, as that directly becomes `Crate::paths` in the output. r? ``@GuillaumeGomez.`` Best reviewed commit-by-commit.
…llaumeGomez Rollup of 7 pull requests Successful merges: - rust-lang#135348 (rustdoc-json: Include items in stripped modules in `Crate::paths`.) - rust-lang#135365 (Update the explanation for why we use box_new in vec!) - rust-lang#135383 (De-abstract tagged ptr and make it covariant) - rust-lang#135401 (Remove some empty expected files to fix blessing) - rust-lang#135406 (Update unstable lint docs to include required feature attributes) - rust-lang#135407 (Deny various clippy lints) - rust-lang#135411 (run_make_support: add `#![warn(unreachable_pub)]`) r? `@ghost` `@rustbot` modify labels: rollup
Closes #135309
When we're running rustdoc-json, we should err on the side of adding more items to
Cache::paths
, as that directly becomesCrate::paths
in the output.r? @GuillaumeGomez. Best reviewed commit-by-commit.