Skip to content

Types in function signatures vanish on mouse-out in rustdoc #14723

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

Closed
mahkoh opened this issue Jun 7, 2014 · 2 comments · Fixed by #14730
Closed

Types in function signatures vanish on mouse-out in rustdoc #14723

mahkoh opened this issue Jun 7, 2014 · 2 comments · Fixed by #14730
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@mahkoh
Copy link
Contributor

mahkoh commented Jun 7, 2014

rust

@huonw
Copy link
Member

huonw commented Jun 7, 2014

cc @alexcrichton

seems to be any mouse-out event.

@huonw huonw changed the title Rustdoc vanishes. Types in function signatures vanish on mouse-out in rustdoc Jun 7, 2014
@huonw
Copy link
Member

huonw commented Jun 7, 2014

(Updated title)

@huonw huonw added the A-rustdoc label Jun 7, 2014
alexcrichton added a commit to alexcrichton/rust that referenced this issue Jun 7, 2014
mcpherrinm pushed a commit to mcpherrinm/rust that referenced this issue Jun 10, 2014
bors added a commit to rust-lang-ci/rust that referenced this issue Aug 7, 2023
Added remove unused imports assist

This resolves the most important part of rust-lang#5131. I needed to make a couple of cosmetic changes to the search infrastructure to do this.

A few open questions:
* Should imports that don't resolve to anything be considered unused? I figured probably not, but it would be a trivial change to make if we want it.
* Is there a cleaner way to make the edits to the use list?
* Is there a cleaner way to get the list of uses that intersect the current selection?
* Is the performance acceptable? When testing this on itself, it takes a good couple seconds to perform the assist.
* Is there a way to hide the rustc diagnostics that overlap with this functionality?
flip1995 pushed a commit to flip1995/rust that referenced this issue May 15, 2025
…ang#14723)

The MSRV being for crates targeting 1.85-1.87 on edition 2024

This enables the lint for regular nightly users without the feature gate
enabled

r? @samueltardieu

Fixes rust-lang/rust-clippy#14678

changelog: none
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

Successfully merging a pull request may close this issue.

2 participants