-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"{N} Implementations" hint is repeated #16157
Labels
C-bug
Category: bug
Comments
In the attached screenshot, is it repeated 8 times (once per implementation)? |
It seems to be repeated infinitely based on editor width. In my own project where I first noticed it, there are 9 implementations but I counted at least 9. There are also at least 9 in the screenshot I attached. This video shows it a bit better CleanShot.2023-12-18.at.19.38.03.mp4 |
@Veykril thanks for taking a look and for the the quick fix! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When examining a struct generated with ouroboros, the hint specifying the number of implementations is repeated as shown in this screenshot:
To reproduce, clone 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:
rustc version:
The text was updated successfully, but these errors were encountered: