#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

#545 in Rust patterns

Download history 8585/week @ 2023-11-23 7829/week @ 2023-11-30 7738/week @ 2023-12-07 6612/week @ 2023-12-14 5533/week @ 2023-12-21 6060/week @ 2023-12-28 8208/week @ 2024-01-04 8171/week @ 2024-01-11 8972/week @ 2024-01-18 9016/week @ 2024-01-25 9301/week @ 2024-02-01 9061/week @ 2024-02-08 8828/week @ 2024-02-15 8202/week @ 2024-02-22 9227/week @ 2024-02-29 6612/week @ 2024-03-07

34,190 downloads per month
Used in 81 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