Skip to content

Update literal suffix docs for rust-lang/rust#102944 #1304

Description

@mattheww

rust-lang/rust#102944 has changed how literals with suffixes are dealt with.

Previously, unknown suffixes were rejected by the parser. Now they are accepted by the parser and rejected at a later stage.

I think this means all the business about 'Number pseudoliterals' can disappear from tokens.md.

There are new tests in src/test/ui/lexer/error-stage.rs.

Activity

  1. mattheww commented on Nov 19, 2022

    @mattheww
    ContributorAuthor

    @rustbot claim
    @rustbot label +A-lexer +A-grammar +A-expressions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

A-expressionsArea: ExpressionsA-grammarArea: Syntax and parsingA-lexerArea: Lexical specification

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions