Skip to content

"{N} Implementations" hint is repeated  #16157

Closed
@landaire

Description

@landaire

When examining a struct generated with ouroboros, the hint specifying the number of implementations is repeated as shown in this screenshot:

CleanShot 2023-12-18 at 14 42 52@2x

To reproduce, clone ouroboros:

$ git clone https://github.com/joshua-maros/ouroboros

Then view one of the examples in examples/src/lib.rs.

I think this probably surfaces as a side effect of the crate's code generation, but clicking any of the repeated "implementations" hints shows exactly the same data.

rust-analyzer version:

rust-analyzer version: 0.4.1772-standalone (21b06c1be 2023-12-15)

rustc version:

rustc 1.76.0-nightly (5facb422f 2023-11-28)

Metadata

Metadata

Assignees

Labels

C-bugCategory: bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions