We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
!
1 parent 2f75e78 commit b026aceCopy full SHA for b026ace
src/types/never.md
@@ -10,6 +10,9 @@ r[type.never.intro]
10
The never type `!` is a type with no values, representing the result of
11
computations that never complete.
12
13
+> [!NOTE]
14
+> Because `!` has no values, reading it from memory (or otherwise producing a value of the type at runtime) is immediate undefined behaviour.
15
+
16
r[type.never.coercion]
17
Expressions of type `!` can be coerced into any other type.
18
0 commit comments