Skip to content
This repository was archived by the owner on Apr 8, 2024. It is now read-only.
This repository was archived by the owner on Apr 8, 2024. It is now read-only.

Update suffixed literal support #49

Open
@ehuss

Description

@ehuss

Suffixed literals have been undergoing recent changes, and there are some oddities to consider.

"foo"suffix is accepted in some situations rust-lang/rust#60494

Tuple index (a.1i32) is temporarily allowed: rust-lang/rust#60210

Attribute literals cannot have suffixes for the = TOKEN_TREE form. #![foo=1u32] is not allowed. However, since these are only built-in attributes AFAIK, may not be worth covering.

Metadata

Metadata

Assignees

No one assigned

    Labels

    grammarIssues with the definition of the rust grammarlexerIssues with the lexer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions