about summary refs log tree commit diff
path: root/compiler/rustc_parse/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-09-18 11:57:31 +0000
committerbors <bors@rust-lang.org>2024-09-18 11:57:31 +0000
commitaaed38b2a631dfc593454abf471d75d84033773e (patch)
tree5cda4eb5ddcbcaf57e5a5f410390cef1f59b2839 /compiler/rustc_parse/src
parent82d17a4db3a010caa947d49245de63a7ac14accf (diff)
parentc2fdb3435fea8d30ef059dffd48332a537274005 (diff)
downloadrust-aaed38b2a631dfc593454abf471d75d84033773e.tar.gz
rust-aaed38b2a631dfc593454abf471d75d84033773e.zip
Auto merge of #129491 - StackOverflowExcept1on:master, r=m-ou-se
Pass `fmt::Arguments` by reference to `PanicInfo` and `PanicMessage`

Resolves #129330

For some reason after #115974 and #126732 optimizations applied to panic handler became worse and compiler stopped removing panic locations if they are not used in the panic message. This PR fixes that and maybe we can merge it into beta before rust 1.81 is released.

Note: optimization only works with `lto = "fat"`.

r? libs-api
Diffstat (limited to 'compiler/rustc_parse/src')
0 files changed, 0 insertions, 0 deletions