Skip to content

Do not allow consequtive zeroes as a name of tuple struct fields #47073

Closed
@matklad

Description

@matklad

The following compiles, but I think it shouldn't?

struct S(i32); 
fn lol(s: S) { s.00000; }

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-parserArea: The lexing & parsing of Rust source code to an AST

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions