Skip to content

Diagnostics show twice #19874

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

Open
G0rocks opened this issue May 27, 2025 · 1 comment
Open

Diagnostics show twice #19874

G0rocks opened this issue May 27, 2025 · 1 comment
Labels
C-bug Category: bug

Comments

@G0rocks
Copy link

G0rocks commented May 27, 2025

Problem is that every time rust-analyzer gives any diagnostics (warnings, errors or other) ot shows up twice.
It does so both in the problem windows at the bottom of the screen and when hovering a mouse over a word with squiggly lines underneath it.

rust-analyzer version: (eg. output of "rust-analyzer: Show RA Version" command, accessible in VSCode via Ctrl/⌘+Shift+P)
rust-analyzer version: 0.3.2474-standalone (d2f1787 2025-05-23)

rustc version: (eg. output of rustc -V)
rustc 1.87.0 (17067e9ac 2025-05-09)

editor or extension: (eg. VSCode, Vim, Emacs, etc. For VSCode users, specify your extension version; for users of other editors, provide the distribution if applicable)
Vscode

relevant settings: (eg. client settings, or environment variables like CARGO, RUSTC, RUSTUP_HOME or CARGO_HOME)

repository link (if public, optional): (eg. rust-analyzer)
https://github.com/G0rocks/marine_vessel_simulator

code snippet to reproduce:

// add your code here
No specific one, it just happens every time I change something and save I get all warnings and/or errors twice

VSCode version: 1.100.2
Operating system: Windows 10 pro 19045.5854
Cargo version: 1.87.0 (99624be96 2025-05-06)

See also issue #18997 where davidbarsky thinks the diagnostics I'm seeing are from rustc by way of Cargo.

@G0rocks G0rocks added the C-bug Category: bug label May 27, 2025
@G0rocks
Copy link
Author

G0rocks commented May 30, 2025

Example image

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug
Projects
None yet
Development

No branches or pull requests

1 participant