Skip to content

Redundant closure return types inlay hints #12319

Closed
@NotWearingPants

Description

@NotWearingPants

With closure return types inlay hints enabled, the return type is reported even when it is specified explicitly:

image


rust-analyzer version: rust-analyzer version: 7e95c14 2022-05-17 stable

rustc version: rustc 1.61.0 (fe5b13d68 2022-05-18)

relevant settings: "rust-analyzer.inlayHints.closureReturnTypeHints.enable": true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions