- Notifications
You must be signed in to change notification settings - Fork 13.9k
Closed
Labels
A-grammarArea: The grammar of RustArea: The grammar of RustA-parserArea: The lexing & parsing of Rust source code to an ASTArea: The lexing & parsing of Rust source code to an AST
Description
fn bar(a: int,) {} struct Foo; impl Foo { fn bar(a: int,) {} //~ error: unexpected token: `)` }It works for functions—it should also work for methods.
May be related to #14240.
Metadata
Metadata
Assignees
Labels
A-grammarArea: The grammar of RustArea: The grammar of RustA-parserArea: The lexing & parsing of Rust source code to an ASTArea: The lexing & parsing of Rust source code to an AST