• [$] Stabilizing Rust's never type

    From LWN.net@1337:1/100 to All on Tue Sep 8 14:45:05 2026
    [$] Stabilizing Rust's never type

    Date:
    Tue, 08 Sep 2026 13:34:38 +0000

    Description:
    A function's return type is supposed to indicate the kind of data that it produces.
    Rust's "never" type, which is denoted by an exclamation mark (" ! "), is the type the language uses to mark
    a function that never returns and other places where a value can never occur. For
    a long time, the never type was used internally by the compiler, but was considered an unstable feature. On August24 , after more than two years of work,
    Rust-compiler-contributor "waffle" finally managed to stabilize the type. It took so long, in part, because it involved a small breaking
    change to previous Rust editions, which the compiler maintainers needed to ensure did not impact much real code.

    ======================================================================
    Link to news story:
    https://lwn.net/Articles/1091015/


    --- Mystic BBS v1.12 A49 (Linux/64)
    * Origin: tqwNet UK HUB @ hub.uk.erb.pw (1337:1/100)