about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2021-08-03 19:07:43 +0900
committerGitHub <noreply@github.com>2021-08-03 19:07:43 +0900
commit345862d2245c2fe132c793ab528709045b38beaa (patch)
treeebcc03ab83ff9cd7b38f52a6d3c02489a03d1096 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parente91405b9d5c8dabb3e488bafb314147f1050f9b9 (diff)
parent12804230a25d4f996f4738de20c161d95df4933b (diff)
downloadrust-345862d2245c2fe132c793ab528709045b38beaa.tar.gz
rust-345862d2245c2fe132c793ab528709045b38beaa.zip
Rollup merge of #87645 - LeSeulArtichaut:issue-87414, r=oli-obk
Properly find owner of closure in THIR unsafeck

Previously, when encountering a closure in a constant, the THIR unsafeck gets invoked on the owner of the constant instead of the constant itself, producing cycles.
Supersedes #87492. ```@FabianWolff``` thanks for your work on that PR, I copied your test file and added you as a co-author.

Fixes #87414.
r? ```@oli-obk```
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions