Skip to content

rust-analyzer can't get data on rustc internals #3517

Closed
@matthiaskrgr

Description

@matthiaskrgr

When using rust-analyzer on clippy for example, it seems to fail to get a lot of info on functions/types that come from rustc, for example:

#![feature(rustc_private)]
extern crate rustc_lint;

pub fn register_pre_expansion_lints(_store: &mut rustc_lint::LintStore) {}

fn main() {}

Hovering rustc_lint::LintStore did not provide any type information.

I tried the same with the clippy submodule inside the rustc-repo hoping that could solve it but to no avail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    S-actionableSomeone could pick this issue up and work on it right now

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions