Skip to content

If let and while let examples of irrefutable patterns should mention warning #799

@alercah

Description

@alercah

Both if let and while let have examples with irrefutable patterns. By default this is a compiler warning, so they make bad examples, or at least deserve mention of the compiler warning.

There should also probably be more links on these pages to the definition of irrefutable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions