News for hackers. Stuff that matters.
Re:Rust 1.50 by jleahy on Thursday February 11, 2021 @02:55PM (#26106297)
They're not only unsafe, but as far as I'm aware they're a compiler implementation detail that isn't really supposed to be used in user code (along with rustc_nonnull_optimization_guaranteed). It's actually how NonZero is implemented.

See https://github.com/rust-lang/rust/blob/master/library/core/s...

Re:Rust 1.50 by brundolf on Thursday February 11, 2021 @03:01PM (#26106358)
Ah, that explains things