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.

Function pointer should not allow full patterns. #58

Open
@ehuss

Description

@ehuss

For example, the following should be rejected as a type:

fn((a, b): (i32, i32))

Instead of "pat", I think it should be IDENT | _.

Beware, don't alter FnSigInput for FnArg.

Metadata

Metadata

Assignees

No one assigned

    Labels

    grammarIssues with the definition of the rust grammarrestrictionsIssues related to the permissiveness of the grammar

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions