Skip to content

"expected pattern" when parsing slice patterns #1479

Closed
@estebank

Description

@estebank

The parser cannot cope with the following code using slice patterns:

if let &[ref start.., ref end] = &variant_spans[..] {

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions