External Publication
Visit Post

`MaybeInvalid<T>` - separate concepts of uninitialized memory and invalid values

Rust Internals [Unofficial] March 17, 2026
Source

steffahn:

(In LLVM this corresponds to the value “undef”.)

Technically, poison, IIRC. (TBH, even though I read LLVM’s documentation about the difference between undef, poison, and freeze(poison) not all that long ago, I’ve already forgotten the details, other than the fact that they’re trying to move towards using poison.)

Discussion in the ATmosphere

Loading comments...