#stable #unstable #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

#525 in Rust patterns

Download history 9586/week @ 2024-02-27 9109/week @ 2024-03-05 9426/week @ 2024-03-12 10312/week @ 2024-03-19 9174/week @ 2024-03-26 10082/week @ 2024-04-02 12011/week @ 2024-04-09 12949/week @ 2024-04-16 10701/week @ 2024-04-23 10374/week @ 2024-04-30 8554/week @ 2024-05-07 9484/week @ 2024-05-14 8749/week @ 2024-05-21 10000/week @ 2024-05-28 8683/week @ 2024-06-04 7365/week @ 2024-06-11

36,526 downloads per month
Used in 87 crates (13 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