about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
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 /src/test/codegen/src-hash-algorithm
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 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions