7b49090380
This takes an absolute path to a rustc repo and adds path-dependencies that point towards the respective rustc subcrates into the Cargo.tomls of the clippy and clippy_lints crate. This allows rustc-analyzer to show proper type annotations etc on rustc-internals inside the clippy repo. Usage: cargo dev ra-setup /absolute/path/to/rust/ cc https://github.com/rust-analyzer/rust-analyzer/issues/3517 cc https://github.com/rust-lang/rust-clippy/issues/5514 |
||
---|---|---|
.. | ||
fmt.rs | ||
lib.rs | ||
main.rs | ||
new_lint.rs | ||
ra_setup.rs | ||
stderr_length_check.rs | ||
update_lints.rs |