#unstable #stable #void

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

#415 in Rust patterns

Download history 9849/week @ 2024-06-14 10500/week @ 2024-06-21 11456/week @ 2024-06-28 11082/week @ 2024-07-05 12260/week @ 2024-07-12 10779/week @ 2024-07-19 9837/week @ 2024-07-26 10100/week @ 2024-08-02 13137/week @ 2024-08-09 10047/week @ 2024-08-16 11123/week @ 2024-08-23 9732/week @ 2024-08-30 10035/week @ 2024-09-06 11090/week @ 2024-09-13 11950/week @ 2024-09-20 9268/week @ 2024-09-27

43,874 downloads per month
Used in 92 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