Skip to content

[v0.3.2571] Error hints disappear after saving a file #20427

@ZGBX

Description

@ZGBX

Problem Description

When using the rust-analyzer extension (version v0.3.2571), the code error hints briefly appear and then quickly disappear after saving a file. The error hints only persist when VS Code is first opened.

Extension Version

rust-analyzer v0.3.2571

VS Code Version

1.103.0

Operating System

macOS 15.4

Reproduction Steps

  1. Open a Rust project in VS Code.
  2. Make a change to a Rust file that introduces a syntax error.
  3. Save the file.
  4. Observe that the error hints briefly appear and then disappear.

Expected Behavior

The error hints should persist until the errors are fixed.

Additional Information

  • This issue only occurs after the first save. The error hints persist when VS Code is first opened.
  • I have tried restarting VS Code and my computer, but the issue persists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-flycheckissues with flycheck a.k.a. "check on save"C-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions