Skip to content

Rust Code Blocks in Documentation Are Not Well Highlighted #13845

Open
@GreenYun

Description

@GreenYun

rust-analyzer version: 0.4.1330-standalone (fb0db2a 2022-12-23)

rustc version: rustc 1.68.0-nightly (rust-lang/rust@af3e06f1b 2022-12-23)

relevant settings: (No special settings)

The problems are described by the following image:
image

Compared to the normal code rendered:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-highlighting(semantic) token highlightingC-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions