diff options
| author | Aman Arora <me@aman-arora.com> | 2021-06-18 16:35:10 -0400 |
|---|---|---|
| committer | Aman Arora <me@aman-arora.com> | 2021-06-24 19:39:51 -0400 |
| commit | de2052af9cf7ac83da6a825701e32bd0e4aa9a85 (patch) | |
| tree | cd000847853265864afe204cc799a54fba379347 /compiler/rustc_codegen_llvm/src | |
| parent | 7c3872e6bfd555d2ad753ac1f871db3bd7f2a547 (diff) | |
| download | rust-de2052af9cf7ac83da6a825701e32bd0e4aa9a85.tar.gz rust-de2052af9cf7ac83da6a825701e32bd0e4aa9a85.zip | |
2229: Capture box completely in move closures
Even if the content from box is used in a sharef-ref context, we capture the box entirerly. This is motivated by: 1) We only capture data that is on the stack. 2) Capturing data from within the box might end up moving more data than the user anticipated.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
