Skip to content

Change how fn(&T) parses #3535

Closed
Closed
@nikomatsakis

Description

@nikomatsakis

Right now, fn(&T) parses as fn(&v: T) rather than fn(v: &T). This should be changed so that modes require explicit variable names. We would also of course then need to update the various legacy fn() types that appear in rustc and elsewhere.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-grammarArea: The grammar of RustE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions