Skip to content

Some keywords are not being highlighted #14817

Closed
@DaniPopes

Description

@DaniPopes

I don't know if this is actually a bug, but certain keywords like const, struct, fn etc are not being highlighted / italicized. This has been the case for pre-release versions in VSCode for the past few weeks, while the release version hasn't changed.

The only difference between the screenshots below is the version, all the settings are the same (semantic highlighting is enabled).

rustc version: rustc 1.71.0-nightly (ce5919fce 2023-05-15)

server stopped / no extension:

image

rust-analyzer release version: 0.3.1506-standalone

release

rust-analyzer pre-release version: 0.4.1510-standalone

image

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