Skip to content

Add some crates sources to "rust-src" distribution. #58268

Closed
@taeguk

Description

@taeguk

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.

let std_src_dirs = [

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions