mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 09:13:07 +03:00
d7fe4c0e92
Make ub_check message clear that it's not an assert I've seen a user assume that their unsound code was *safe*, because ub_check prevented the program from performing the unsafe operation. This PR makes the panic message clearer that ub_check is a bug detector, not run-time safety protection.