]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #105998 - RalfJung:no-unwind-panic-msg, r=thomcc
authorMatthias Krüger <matthias.krueger@famsik.de>
Wed, 28 Dec 2022 21:22:21 +0000 (22:22 +0100)
committerGitHub <noreply@github.com>
Wed, 28 Dec 2022 21:22:21 +0000 (22:22 +0100)
commitd28ef9dbf1e9bedd0a30ad96ead65d95aaa09ebb
treee89d087e56c18320949d77252bc58c1c2c70cba2
parent06306770f83404fe5f73658d3e041768ec5736af
parentb804c0d5a54dee10a59fc2b3d54037cb96fbb598
Rollup merge of #105998 - RalfJung:no-unwind-panic-msg, r=thomcc

adjust message on non-unwinding panic

"thread panicked while panicking" is just plain wrong in case this is a non-unwinding panic, such as
- a panic out of a `nounwind` function
- the sanity checks we have in `mem::uninitialized` and `mem::zeroed`
- the optional debug assertion in various unsafe std library functions