#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

#534 in Rust patterns

Download history 8512/week @ 2024-01-05 7992/week @ 2024-01-12 9542/week @ 2024-01-19 9169/week @ 2024-01-26 9175/week @ 2024-02-02 9153/week @ 2024-02-09 8216/week @ 2024-02-16 8665/week @ 2024-02-23 9271/week @ 2024-03-01 9058/week @ 2024-03-08 10537/week @ 2024-03-15 9141/week @ 2024-03-22 9350/week @ 2024-03-29 11015/week @ 2024-04-05 12959/week @ 2024-04-12 9952/week @ 2024-04-19

44,720 downloads per month
Used in 82 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