diff options
| author | Urgau <3616612+Urgau@users.noreply.github.com> | 2025-02-18 18:34:13 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-18 18:34:13 +0100 |
| commit | d7fe4c0e92de2393f3525ccdf43b689fad81d866 (patch) | |
| tree | 5a1686bdebb4ed2649fe3f388c215b2252020863 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 3b022d8ceea570db9730be34d964f0cc663a567f (diff) | |
| parent | ca288273b43d4218f00c15e31e78f89949d8cbba (diff) | |
| download | rust-d7fe4c0e92de2393f3525ccdf43b689fad81d866.tar.gz rust-d7fe4c0e92de2393f3525ccdf43b689fad81d866.zip | |
Rollup merge of #136750 - kornelski:ub-bug, r=saethlin
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.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
