rust-lang / rust-lang/rust-analyzer
Possible bug in vscode tooltip shown when hovering over a function
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 16.9k
- Forks
- 2.2k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 72
Description
rust-analyzer version: 0.3.2743-standalone
rustc version: rustc 1.92.0 (ded5c06cf 2025-12-08)
editor or extension: VSCode with rust-analyzer
I'm not sure where else to put this assuming it may be a bug which leaks some kind of internal information, and if it is not a bug, I would like to know whether this can be turned off or request a setting so it can be turned off.
Basically, whenever trying to view the content of a tooltip of a function, bunch of irrelevant stuff comes up before the documentation, as can be viewed in the screenshot.
The thing is it only happens on some functions and I'm not sure what the common denominator is, but it likely has to do with the "notable traits" it mentions like Iterator or Future, which isn't something my type implements though.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the hover tooltip in VSCode using rust-analyzer 0.3.2743-standalone and rustc 1.92.0, focusing on functions that show notable traits such as Iterator or Future. Compare the extra information before the documentation and determine whether it is erroneous or should be controlled by a setting; done means a confirmed fix or documented configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100