Skip to content

Incorrectly shows an error for matching an enum without variants #3974

@djc

Description

@djc

hyper contains a type enum Never {}. When this is matched against, RA (0.2.135) shows an error:

Screen Shot 2020-04-14 at 09 32 37

In contrast, rustc does not show an error.

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