Skip to content

Show Trait Bound in the function signature hints. #18945

Open
@lh123

Description

@lh123

Currently, RA (Rust Analyzer) does not display Trait Bound in the function signature hints.

fn test<R: std::io::Read>(r: R)  {}
fn test1<R>(r: R) where R: std::io::Read {}

Current: (where R: std::io::Read not show)
Image

Expected:
Show Trait Bound just like hover
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-configconfigurationA-idegeneral IDE featuresC-featureCategory: feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions