about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorUrgau <3616612+Urgau@users.noreply.github.com>2025-02-18 18:34:13 +0100
committerGitHub <noreply@github.com>2025-02-18 18:34:13 +0100
commitd7fe4c0e92de2393f3525ccdf43b689fad81d866 (patch)
tree5a1686bdebb4ed2649fe3f388c215b2252020863 /compiler/rustc_codegen_llvm/src/errors.rs
parent3b022d8ceea570db9730be34d964f0cc663a567f (diff)
parentca288273b43d4218f00c15e31e78f89949d8cbba (diff)
downloadrust-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