Skip to content

Support min_exhaustive_patterns #17851

Closed
@Veykril

Description

@Veykril

rust-lang/rust#119612 has been stabilized but we throw exhaustiveness errors for those examples

let x: Result<i32, !>;
match x {
    Ok(y) => (),
}
let Ok(y) = x;

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-patternpattern handling related thingsBroken WindowBugs / technical debt to be addressed immediatelyC-featureCategory: feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions