rust/clippy_dev/src
Matthias Krüger 7b49090380 clippy_dev: add ra_setup
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
2020-05-28 04:14:04 +02:00
..
fmt.rs Define modules in lib.rs instead of main.rs 2020-03-31 17:24:09 +02:00
lib.rs clippy_dev: add ra_setup 2020-05-28 04:14:04 +02:00
main.rs clippy_dev: add ra_setup 2020-05-28 04:14:04 +02:00
new_lint.rs Make the name of the crate available in cargo UI tests 2020-05-25 20:00:08 +02:00
ra_setup.rs clippy_dev: add ra_setup 2020-05-28 04:14:04 +02:00
stderr_length_check.rs Define modules in lib.rs instead of main.rs 2020-03-31 17:24:09 +02:00
update_lints.rs Build lint lists once and the reuse them to update files 2020-04-03 21:19:32 +02:00