Skip to content

Commit

Permalink
Auto merge of #17144 - cbiffle:patch-1, r=Veykril
Browse files Browse the repository at this point in the history
manual: remove suggestion of rust-project.json example

The manual has been linking to the repo

https://github.com/rust-analyzer/rust-project.json-example/tree/master

This repo does not contain a rust-project.json, does not appear to have _ever_ contained a rust-project.json, and my bug report about this has gone untouched: rust-analyzer/rust-project.json-example#4

Since I can't figure out an example, this commit removes the link pending better documentation.
  • Loading branch information
bors committed Apr 29, 2024
2 parents 7f19431 + 898d466 commit 1e61ed7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/user/manual.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -787,8 +787,6 @@ There are three ways to feed `rust-project.json` to rust-analyzer:

Relative paths are interpreted relative to `rust-project.json` file location or (for inline JSON) relative to `rootUri`.

See https://github.com/rust-analyzer/rust-project.json-example for a small example.

You can set the `RA_LOG` environment variable to `rust_analyzer=info` to inspect how rust-analyzer handles config and project loading.

Note that calls to `cargo check` are disabled when using `rust-project.json` by default, so compilation errors and warnings will no longer be sent to your LSP client.
Expand Down

0 comments on commit 1e61ed7

Please sign in to comment.