-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
In the lexer, accept number suffixes that start with e. #67544
Copy link
Copy link
Open
Labels
A-parserArea: The lexing & parsing of Rust source code to an ASTArea: The lexing & parsing of Rust source code to an ASTA-proc-macrosArea: Procedural macrosArea: Procedural macrosC-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-langRelevant to the language teamRelevant to the language team
Metadata
Metadata
Assignees
Labels
A-parserArea: The lexing & parsing of Rust source code to an ASTArea: The lexing & parsing of Rust source code to an ASTA-proc-macrosArea: Procedural macrosArea: Procedural macrosC-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-langRelevant to the language teamRelevant to the language team
Type
Fields
Give feedbackNo fields configured for issues without a type.
Currently, the lexer will reject tokens like
1.0etestexpecting an exponent after thee. It could alternatively accept this token asLitFloat { value: 1.0, suffix: "etest" }. This would mean that proc macros could use suffixes that start with ane(although not the suffixeitself of course).