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:
authorbors <bors@rust-lang.org>2023-08-15 11:42:05 +0000
committerbors <bors@rust-lang.org>2023-08-15 11:42:05 +0000
commit11efa0133f9d0b0deafb9c73c4de14154a4e794f (patch)
tree77643f0fd4d3f908883b57b003acfa61582aa66f /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff
parentb5bfd1176b3d0de03e63c8d0b244ef61b30067d8 (diff)
parentaa8995e589c7f4a433ae6fe27b319ff9898b523a (diff)
downloadrust-11efa0133f9d0b0deafb9c73c4de14154a4e794f.tar.gz
rust-11efa0133f9d0b0deafb9c73c4de14154a4e794f.zip
Auto merge of #11321 - J-ZhengLi:issue11281, r=giraffate
allow calling `to_owned` on borrowed value for [`implicit_clone`]

fixes: #11281

a small and simple fix that give up checking for `referenced_value.to_owned()` usage.

changelog: allow calling `to_owned` with borrowed value for [`implicit_clone`]
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions