Skip to content

show {unknown} type #18560

@chenxiang0010

Description

@chenxiang0010

The latest version of rustc (1.82.0) with rust-analyzer (2024-11-25) will appear {unknown} type prompt, the solution is to downgrade rustc to 1.81.0 or rust-analyzer to 2024-08-12. The computer configuration is win10 professional version, 22H2, 19045.4894, this is a company computer and cannot share data.

rust-analyzer version: 2024-11-25

rustc version: 1.82.0

editor or extension: VSCode 1.95.3

relevant settings: (eg. client settings, or environment variables like CARGO, RUSTC, RUSTUP_HOME or CARGO_HOME)

repository link (if public, optional): (eg. rust-analyzer)

code snippet to reproduce:

let content = fs::read_to_string(path)?;

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions