Skip to content

unresolved extern crate for test crate #6714

Closed
@FichteFoll

Description

@FichteFoll

I'm using benchmarking on nightly through the test feature, which requires extern crate test in the code. However, rust-anaylzer always marks this as unresolved extern crate and I have seen no other reports of this,
so I'm asking here whether that is a bug from rust-analyzer that it doesn't know about this default crate or whether I did a misconfiguration by using nightly.

I am running Arch Linux and the LSP plugin for Sublime Text.

$ rust-analyzer --version
rust-analyzer ???????

$ pacman -Qs rust-analyzer
local/rust-analyzer 20201130-1
    Experimental Rust compiler front-end for IDEs

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