diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2021-07-26 18:17:22 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2021-07-26 18:57:48 +0200 |
| commit | e387ec9cbf53af36228684b3d095228a1b351f16 (patch) | |
| tree | 2d945fcf09518bfbcffba93aa6e1cd7347c258e4 /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff | |
| parent | 2abc12daada0f7a12285902eb3faacd279316e11 (diff) | |
| download | rust-e387ec9cbf53af36228684b3d095228a1b351f16.tar.gz rust-e387ec9cbf53af36228684b3d095228a1b351f16.zip | |
Fix ABI for Indirect arguments
In case of PassMode::Indirect, the ownership of the backing storage is transfered to the callee. This means that the caller must copy the argument if it wants to use it again later. Fixes #691
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions
