Skip to content

[Rust] Scalar types/primitives are not distinguished from non-primitive types #4152

@uncenter

Description

@uncenter

What happened?

The TypeScript syntax marks non-primitive types with the support.class scope, and primitive types (e.g. string) with support.type.primitive. Rust scalars/primitives like u32, char, bool, etc are marked as either storage.type or support.type depending on context, which is the same as any other user/library defined type (Box, Result). It would be helpful to be able to differentiate between the two for syntax highlighting.

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