about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-07-26 18:17:22 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2021-07-26 18:57:48 +0200
commite387ec9cbf53af36228684b3d095228a1b351f16 (patch)
tree2d945fcf09518bfbcffba93aa6e1cd7347c258e4 /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff
parent2abc12daada0f7a12285902eb3faacd279316e11 (diff)
downloadrust-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