We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2943dd2 + 7c309f3 commit d8dfe1bCopy full SHA for d8dfe1b
src/types/never.md
@@ -8,7 +8,15 @@ computations that never complete. Expressions of type `!` can be coerced into
8
any other type.
9
10
```rust,should_panic
11
+#![feature(never_type)]
12
let x: ! = panic!();
13
// Can be coerced into any type.
14
let y: u32 = x;
15
```
16
+
17
+**NB.** The never type was expected to be stabilized in 1.41, but due
18
+to some last minute regressions detected the stabilization was
19
+temporarily reverted. The `!` type can only appear in function return
20
+types presently. See [the tracking
21
+issue](https://github.com/rust-lang/rust/issues/35121) for more
22
+details.
0 commit comments