rust-lang / rust-lang/rust-analyzer

No error shown when running `cargo metadata` on the sysroot fails

Open
#19,281 14 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

C-support
Dominant language
Rust
Stars
16.9k
Forks
2.2k
Avg merge
1d 12h
Merged PRs (30d)
72

Description

rust-analyzer version:
0.4.2329

rustc version: 1.85.0

editor or extension: VSCode

relevant settings: Fresh VSCode and Rust-Analyzer installation

code snippet to reproduce:

// add your code here

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure while running cargo metadata for the sysroot in rust-analyzer with the reported Rust 1.85.0 and VSCode setup. Trace where that command's failure is handled and make the user-visible error appear; done means the failure is reported instead of being silent.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.