How to Set Up RustRover (IntelliJ) for Rust Development

Link RustRover to the rustc source code using cargo dev setup intellij to enable code completion for compiler internals.

To enable code completion for Rust compiler internals in RustRover, you must link the Clippy project to a local copy of the rustc source code using the cargo dev tool. First, clone the Rust compiler repository and then run the setup command with the path to that repository.

git clone https://github.com/rust-lang/rust/
cargo dev setup intellij --repo-path /path/to/rust