diff options
| author | bors <bors@rust-lang.org> | 2024-08-09 08:55:50 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-08-09 08:55:50 +0000 |
| commit | d36e1571a55e3c36c026855220ad94df75e977a4 (patch) | |
| tree | 2c4d4aa957c9a3dac9409aae2042bb57c0ddd637 /tests/debuginfo/enum-thinlto.rs | |
| parent | dc9f4e8c4c6be7da1220e29434bef91ef774ab15 (diff) | |
| parent | dc54f1dccda757c2fb19c53914045da23672e457 (diff) | |
| download | rust-d36e1571a55e3c36c026855220ad94df75e977a4.tar.gz rust-d36e1571a55e3c36c026855220ad94df75e977a4.zip | |
Auto merge of #3797 - zachs18:no-borrow-no-panic, r=RalfJung
Don't panic on `miri_print_borrow_state()` under `-Zmiri-disable-stacked-borrows`. Fixes #3459 Instead, just print "attempted to print borrow state, but no borrow state is being tracked" directly to ~~stdout~~ stderr and return successfully. Alternately, the diagnostic machinery could be used to print a structured error/warning. (Does not address the comment about nothing being printed for `miri_print_borrow_state` with `alloc_id = 0`)
Diffstat (limited to 'tests/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
