#stable #unstable #void #define

no-std never

A stable version of the unstable never type (!)

2 unstable releases

0.1.0 Mar 20, 2020
0.0.0 Jul 30, 2018

#455 in Rust patterns

Download history 10685/week @ 2024-07-22 9372/week @ 2024-07-29 10410/week @ 2024-08-05 13114/week @ 2024-08-12 9830/week @ 2024-08-19 11401/week @ 2024-08-26 9445/week @ 2024-09-02 10486/week @ 2024-09-09 10312/week @ 2024-09-16 12910/week @ 2024-09-23 11104/week @ 2024-09-30 11362/week @ 2024-10-07 11136/week @ 2024-10-14 10071/week @ 2024-10-21 10528/week @ 2024-10-28 10793/week @ 2024-11-04

43,146 downloads per month
Used in 93 crates (14 directly)

BSD-3-Clause

6KB
66 lines

The never type.

This crate defines Never, which is a type that can never be constructed (in type theory parlance, it is "uninhabited"). It is a stable version of the currently-unstable ! type from the standard library.

By default, this crate links against std. This is enabled via the std feature, which is on by default. To make this crate no_std, disable default features.

No runtime deps

Features