rust-lang / rust-lang/rust-analyzer

rust-project.json runnable type check does nothing.

Open
#20,367 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

https://github.com/rust-lang/rust-analyzer/blob/68e7ec90bf29c9b17d0dcdb3358de5dee7f4afb5/crates/project-model/src/project_json.rs#L328

This option when constructing a rust-project.json has no effect and should either be removed or a comment should be stated why it no longer works.

Git blame doesnt really show anything when it comes to why it was added / if it ever worked.

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 in crates/project-model/src/project_json.rs at line 328 and inspect how the runnable type check option is constructed and consumed. Check the surrounding code and history to determine whether the option is still supported; done means either removing the ineffective option or documenting why it no longer works.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers, devtools
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.