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: Wrong page suggestion on search #9566

Closed
klutzy opened this issue Sep 27, 2013 · 2 comments
Closed

rustdoc: Wrong page suggestion on search #9566

klutzy opened this issue Sep 27, 2013 · 2 comments
Assignees
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@klutzy
Copy link
Contributor

klutzy commented Sep 27, 2013

Searching insert on rustdoc leads here (broken link) rather than here.

Same for searching zip. (the suggested link)

@huonw
Copy link
Member

huonw commented Sep 27, 2013

gen does a similar thing: http://static.rust-lang.org/doc/master/std/rand/Rng/trait.Rng.html

It appears to be a problem with default methods.

@alexcrichton
Copy link
Member

cc me

@ghost ghost assigned alexcrichton Sep 27, 2013
flip1995 pushed a commit to flip1995/rust that referenced this issue Oct 20, 2022
Expand internal lint `unnecessary_def_path`

This PR does essentially two things:
* Separates the internal lints into modules by pass. (`internal_lints.rs` was over 1400 lines, which is a little unruly IMHO.)
* ~Adds a new~ Expands the `unnecessary_def_path` internal lint to flag hardcoded paths to diagnostic and language items.

My understanding is that the latter is currently done by reviewers. Automating this process should make things easier for both reviewers and contributors.

I could make the first bullet a separate PR, or remove it entirely, if desired.

changelog: Add internal lint `diagnostic_item_path`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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

3 participants