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

#884 in Rust patterns

Download history 11316/week @ 2024-11-16 12702/week @ 2024-11-23 12570/week @ 2024-11-30 13214/week @ 2024-12-07 12677/week @ 2024-12-14 6515/week @ 2024-12-21 9316/week @ 2024-12-28 13491/week @ 2025-01-04 14785/week @ 2025-01-11 11943/week @ 2025-01-18 11711/week @ 2025-01-25 15134/week @ 2025-02-01 13375/week @ 2025-02-08 12805/week @ 2025-02-15 14817/week @ 2025-02-22 18505/week @ 2025-03-01

61,286 downloads per month
Used in 104 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