2 ms·
> the claim that safe Rust doesn't have UB (that isn't considered a bug in the compiler) still stands Yes! > If you mix in unsafe code, bad things may happen
by tom_mellior 9y ago
> the claim that safe Rust doesn't have UB (that isn't considered a bug in the compiler) still stands
Yes!
> If you mix in unsafe code, bad things may happen
Yes!
My point was only that those bad things may also happen after the unsafe block that is their root cause. This is in reply to parent's "all of these [UBs] are inside of unsafe blocks". They aren't. They are caused by something inside unsafe blocks, but they may also materialize after.