Skip to content

Proc macro server crashed after add sqlx as depedency #7103

@neo-clon

Description

@neo-clon

Hello guys

I have a problem in my projects with the last 3 versions of rust analyzer

Every time I add them as a sqlx dependency, it marks an error in the structures that use the derive Serialize or Deserialize macros

image

image

My dev enviroment is:
arch linux x64
NVIM: 0.4.4
rustc 1.48.0
coc.nvim version: 0.0.80-cf0e8400a4
coc-rust-analyzer 0.25.0
rust-analyzer 1d53075 (stable channel)
CocConfig:
rust-analyzer.procMacro.enable: true
rust-analyzer.cargo.loadOutDirsFromCheck: true

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-macromacro expansionS-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