Skip to content

'No such associated item' when using some structs which derived the 'Default' trait in the crate 'wgpu' #16295

@zerodegress

Description

@zerodegress

rust-analyzer version: rust-analyzer version: 0.4.1797-standalone (f595e60 2024-01-06)

rustc version: rustc 1.74.0 (79e9716c9 2023-11-13)

relevant settings: no

图片
图片

Just like these pictures showed.It is confusing that the cargo check is ok but RA not.
The only used dependency is [email protected].

图片

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions