about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorJubilee <46493976+workingjubilee@users.noreply.github.com>2024-04-02 23:44:29 -0700
committerGitHub <noreply@github.com>2024-04-02 23:44:29 -0700
commitf700fb24f39f4b027b03b5b1e4e6723d24f701b8 (patch)
treeb57a2b8eff00a854f75fde0157c8c5544ff20b0b /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parentabb039359588483700ce27bf0ee37cccf636c5fc (diff)
parentec74a304bb737f24d6e7f2fb8c3a2b3cf3575f0f (diff)
downloadrust-f700fb24f39f4b027b03b5b1e4e6723d24f701b8.tar.gz
rust-f700fb24f39f4b027b03b5b1e4e6723d24f701b8.zip
Rollup merge of #123349 - compiler-errors:async-closure-captures, r=oli-obk
Fix capture analysis for by-move closure bodies

The check we were doing to figure out if a coroutine was borrowing from its parent coroutine-closure was flat-out wrong -- a misunderstanding of mine of the way that `tcx.closure_captures` represents its captures.

Fixes #123251 (the miri/ui test I added should more than cover that issue)

r? `@oli-obk` -- I recognize that this PR may be underdocumented, so please ask me what I should explain further.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions