-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
rustdoc: In specific circumstances, links to core items in item signatures are now broken (beta → nightly regression) #152917
Copy link
Copy link
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.E-needs-mcveCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleP-highHigh priorityHigh priorityS-has-bisectionStatus: A bisection has been found for this issueStatus: A bisection has been found for this issueT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.E-needs-mcveCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleP-highHigh priorityHigh priorityS-has-bisectionStatus: A bisection has been found for this issueStatus: A bisection has been found for this issueT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Noticed while browsing r-l/r's API docs:
On 1.94.0-beta.4 (172dc09 2026-02-18), type
Boundin functionrustc_parse::Parser::parse_expr_assoc_with(beta) correctly links to https://doc.rust-lang.org/beta/core/ops/range/enum.Bound.html. However, on 1.95.0-nightly(7f99507 2026-02-19), type
Boundin functionrustc_parse::Parser::parse_expr_assoc_with(nightly) links to (BROKEN) https://doc.rust-lang.org/nightly/nightly-rustc/rustc_parse/core/ops/range/enum.Bound.html (notice how the URL doesn't just contain the target crate namecorebut also the source crate namerustc_parsebefore that; some path manipulations seem to go awry here).I couldn't minimize it so far or find similar regressions. I couldn't find similar reports. I don't know if it only concerns links to
core/ sysroot crates.