about summary refs log tree commit diff
path: root/compiler/rustc_macros/src/diagnostics/utils.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-06-18 01:58:51 +0000
committerbors <bors@rust-lang.org>2023-06-18 01:58:51 +0000
commit0c2c243342ec2a2427f0624fac5ac59f0ee6fbcd (patch)
treedf08bcbf071a40581b4aa501b205d7e0b80fb332 /compiler/rustc_macros/src/diagnostics/utils.rs
parented7281e784423249ab85c094aaba81e3b949a65f (diff)
parent7a2490eba3f161c81ad243c7d957b337dd70a2af (diff)
downloadrust-0c2c243342ec2a2427f0624fac5ac59f0ee6fbcd.tar.gz
rust-0c2c243342ec2a2427f0624fac5ac59f0ee6fbcd.zip
Auto merge of #112599 - saethlin:cleaner-panics, r=thomcc
Launch a non-unwinding panic for misaligned pointer deref

This panic already never unwinds, but that's only because it always hits the unwind guard that's created by our `UnwindAction::Terminate`. Hitting the unwind guard generates a huge double-panic backtrace. Now we generate a normal-looking panic message when this check is hit.

r? `@thomcc`
Diffstat (limited to 'compiler/rustc_macros/src/diagnostics/utils.rs')
0 files changed, 0 insertions, 0 deletions