Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

Function pointer should not allow full patterns. #58

Open

Description

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.

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

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