Skip to content

Type inlays are not clickable anymore (since 2024-03-24 release) #16962

Closed
@jeremychone

Description

@jeremychone

rust-analyzer version: 0.3.1896-standalone (6f6b03f 2024-03-24)
rustc version: rustc 1.77.0 (aedd173a2 2024-03-17)
OS: MacBook Pro M3 Max

Problem:

With this week's release 2024-03-24, the type inlays are not clickable anymore.

image

For example, in this simple use case, the "String" type inlay is not clickable and not underlined on mouseover. (see the previous version below)

Works on the previous version:

Just by downgrading to last week's version, rust-analyzer version: 0.3.1885-standalone (b6d1887bc 2024-03-17),
it works fine:

image

The String type becomes underlined on mouseover and is clickable with Option Click to drill down to the type.

Code snippet to reproduce:

let hello = "World".to_string();

And toggle type inlays

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions