2 Checks for `enum`s with no variants.
4 As of this writing, the `never_type` is still a
5 nightly-only experimental API. Therefore, this lint is only triggered
6 if the `never_type` is enabled.
9 If you want to introduce a type which
10 can't be instantiated, you should use `!` (the primitive type "never"),
11 or a wrapper around it, because `!` has more extensive
12 compiler support (type inference, etc...) and wrappers
13 around it are the conventional way to define an uninhabited type.
14 For further information visit [never type documentation](https://doc.rust-lang.org/std/primitive.never.html)
24 #![feature(never_type)]