diff options
| author | Dorian Scheidt <dorian.scheidt@gmail.com> | 2022-07-06 18:25:05 -0500 |
|---|---|---|
| committer | Dorian Scheidt <dorian.scheidt@gmail.com> | 2022-07-08 09:52:01 -0500 |
| commit | 603b6fcc681339a1d259961df06631524df588f4 (patch) | |
| tree | 305b540effcdfe5ee5482eb6eeb599a7186146eb /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff | |
| parent | c419aa9775bbbb877ae699f7520b4b1c77406996 (diff) | |
| download | rust-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
