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
RustRover cannot automatically find the internal code of the Rust compiler because it is not a standard library package. This setup command manually connects your project to the compiler's source files so the IDE can read them. It is like giving a map to a library so a librarian can find books that aren't on the main shelves.