Skip to content

Strange errors as if the extension forget to execute the linter #18854

Closed
@mariogeiger

Description

rust-analyzer version: rust-analyzer version: 0.4.2248-standalone (bfb8127 2025-01-06)

rustc version: rustc 1.83.0 (90b35a623 2024-11-26)

editor or extension: VSCode

code snippet to reproduce:

fn main() {
    println!("Hello, world!");
    let x = 5;
}
Image

I get errors that make no sense, it's like if the extension forgot the execute the linter.

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions