-
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
Fix rustdoc missing handling of remap-path-prefix option #128736
Conversation
This comment has been minimized.
This comment has been minimized.
27e193c
to
f43e92b
Compare
Fixed fmt... |
One question: Should rustdoc respect From my understanding, besides doctest, the only thing needing to be remapped in rustdoc is diagnostics. Rustdoc might not need to be aware of any scope. Cargo can determine and pass |
My answer will be: if you can find a case where it's useful, I can add it. :) |
Is there anything that contains absolute/original source path in rustdoc generated artifacts? |
Not that I can think of. |
This definitely seems like an improvement. @bors r+
Source code pages can. Here's an example of how to see that. |
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#128369 (rustc_lint: make `let-underscore-lock` translatable) - rust-lang#128377 (Fix ICE Caused by Incorrectly Delaying E0107) - rust-lang#128517 (Fallback to string formatting if source is not available for lint) - rust-lang#128685 (Remove the root Cargo.lock from the rust-src component) - rust-lang#128693 (rustdoc-search: account for numeric disambiguators on impls) - rust-lang#128720 (Pass the right `ParamEnv` to `might_permit_raw_init_strict`) - rust-lang#128736 (Fix rustdoc missing handling of remap-path-prefix option) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#128736 - GuillaumeGomez:fix-remap-path-prefix, r=notriddle Fix rustdoc missing handling of remap-path-prefix option Fixes rust-lang#69264. cc `@weihanglo` r? `@notriddle`
Fixes #69264.
cc @weihanglo
r? @notriddle