Skip to content

Spurious warnings around uninhabited types with 1.33 #58844

Closed
@nox

Description

@nox

https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=25adf77e74f612769891852bfeaf237c

Using uninhabited enums for some targets or combinations of crate features are a useful common idiom and this probably shouldn't emit any warning.

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