Skip to content

Possible bug in vscode tooltip shown when hovering over a function #21447

@Tem3dy

Description

@Tem3dy

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.

Image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-hoverhover featureA-idegeneral IDE featuresA-tytype system / type inference / traits / method resolutionC-bugCategory: bug

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions