about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-08-22 15:55:11 +0000
committerbors <bors@rust-lang.org>2024-08-22 15:55:11 +0000
commitb8c02eb11eaac24e56ef718040eb83c304125ac6 (patch)
treea6a0a5fb086644d1539194137cce05af062ed084 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parente881c428f58b99f6dcd362fd201f0cf857ade861 (diff)
parent3a423fc6b74dda43d771c9e77439c3220870671a (diff)
downloadrust-b8c02eb11eaac24e56ef718040eb83c304125ac6.tar.gz
rust-b8c02eb11eaac24e56ef718040eb83c304125ac6.zip
Auto merge of #3835 - JoJoDeveloping:tb-fix-stack-overflow, r=RalfJung
Avoid extra copy by using `retain_mut` and moving the deletion into the closure

Fixes the FIXME introduced in #3833. Thanks to `@dmitrii-ubskii` for the idea :slightly_smiling_face:
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions