Skip to content

Stop parsing trailing + in trait bounds #14925

Closed
@alexcrichton

Description

@alexcrichton

This was a remnant of just switching : to +. We should stop accepting code such as this:

fn foo(a: &Clone+) {
}

Nominating.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-grammarArea: The grammar of Rust

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions