Skip to content

Autocompletion for newly added crate doesn't work after cargo add it, but works after editing Cargo.toml directly #15554

Closed
@zjp-CN

Description

@zjp-CN

rust-analyzer version: 0.3.1641-standalone (144526c 2023-08-28)

rustc version: rustc 1.73.0-nightly (e4c144684 2023-08-04)

relevant settings: no

Autocompletion for newly added crate doesn't work after cargo add it, but works after editing Cargo.toml directly.

The problem is found in https://users.rust-lang.org/t/nvim-rust-analyzer-fails-to-provide-autocomplete-for-new-crates/99329

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-vscodevscode plugin issuesC-supportCategory: support questionsS-unactionableIssue requires feedback, design decisions or is blocked on other work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions