Skip to content

check output not showing up in problems when rust-analyzer.rust.analyzerTargetDir is set #16353

Open
@BLucky-gh

Description

@BLucky-gh

rust-analyzer version: 0.3.1799-standalone (af40101 2024-01-07)

Krustc version: rustc 1.75.0 (82e1608df 2023-12-21)

relevant settings: "rust-analyzer.rust.analyzerTargetDir": "target/rust-analyzer",

When the target dir is set, none of the issues show up, for example if I set my main.rs to be

fn main(){
    let foo = 3;
}

cargo check will warn about the unused var, and if I unset analyzerTargetDir it shows up in Problems in vscode, but if I set it, it doesn't show up

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