Skip to content
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 search result links to 404 #63435

Closed
RalfJung opened this issue Aug 10, 2019 · 2 comments
Closed

Rustdoc search result links to 404 #63435

RalfJung opened this issue Aug 10, 2019 · 2 comments
Labels
C-bug Category: This is a bug. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@RalfJung
Copy link
Member

On the following page:

https://doc.rust-lang.org/nightly/nightly-rustc/rustc/?search=niche_start

clicking on any of the two search results yields a 404 error.

@jonas-schievink jonas-schievink added C-bug Category: This is a bug. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Aug 10, 2019
@jonas-schievink
Copy link
Contributor

The first link goes to

https://doc.rust-lang.org/nightly/nightly-rustc/rustc/ty/layout/DiscriminantKind/enum.DiscriminantKind.html#structfield.niche_start

while it should point to

https://doc.rust-lang.org/nightly/nightly-rustc/rustc/ty/layout/enum.DiscriminantKind.html#variant.Niche.field.niche_start

So this is doubly wrong (the path has an extra folder that isn't there, and the anchor is also wrong)

@RalfJung
Copy link
Member Author

The links seem fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

2 participants