In IntelliJ-Rust and rls-vscode, rust-src component is used to acquire standard crates sources.
But, in currently, librustc, librustc_plugin, and libsyntax are emitted in the list below.
So, syntax highlighting and code completion are not working when using those crates in
IntelliJ-Rust or
rls-vscode.
There was similar issue #55279 about libproc_macro and it was fixed in #55280.
How about adding those crates (librustc, librustc_plugin, and libsyntax) to the list above, too?
Related issue: intellij-rust/intellij-rust#2623
In
IntelliJ-Rustandrls-vscode,rust-srccomponent is used to acquire standard crates sources.But, in currently,
librustc,librustc_plugin, andlibsyntaxare emitted in the list below.rust/src/bootstrap/dist.rs
Line 889 in ad43389
So, syntax highlighting and code completion are not working when using those crates in
IntelliJ-Rustorrls-vscode.There was similar issue #55279 about
libproc_macroand it was fixed in #55280.How about adding those crates (
librustc,librustc_plugin, andlibsyntax) to the list above, too?Related issue: intellij-rust/intellij-rust#2623