Skip to content

unresolved import: thiserror::Error #6053

Description

@bryanburgers

In the latest version of rust-analyzer (on nvim+coc, but a coworker is reporting the same thing on VSCode), I'm getting the following error from rust-analyzer.

image

[rust-analyzer] [E] unresolved import

This happens even though a regular build of the project finishes just fine.

thiserror::Error is a derive macro without an accompanying trait (c.f. serde::Serialize, which is a derive macro and also a trait, which does not cause an error).

Could there be a regression with importing derive macro traits?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-unknownIt's unclear if the issue is E-hard or E-easy without digging inS-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