about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorDorian Scheidt <dorian.scheidt@gmail.com>2022-07-06 18:25:05 -0500
committerDorian Scheidt <dorian.scheidt@gmail.com>2022-07-08 09:52:01 -0500
commit603b6fcc681339a1d259961df06631524df588f4 (patch)
tree305b540effcdfe5ee5482eb6eeb599a7186146eb /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff
parentc419aa9775bbbb877ae699f7520b4b1c77406996 (diff)
downloadrust-603b6fcc681339a1d259961df06631524df588f4.tar.gz
rust-603b6fcc681339a1d259961df06631524df588f4.zip
fix: Extract Function misses locals used in closures
This change fixes #12705.

In `FunctionBody::analyze`, we need to search any `ClosureExpr`s we encounter
for any `NameRef`s, to ensure they aren't missed.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions