]> git.lizzy.rs Git - rust.git/commit
Run the analysis process only once per closure, on the way up the tree.
authorNiko Matsakis <niko@alum.mit.edu>
Fri, 17 Jul 2015 12:20:23 +0000 (08:20 -0400)
committerNiko Matsakis <niko@alum.mit.edu>
Fri, 24 Jul 2015 08:53:19 +0000 (04:53 -0400)
commit6b49f4ded7c92da2323043bcda59886c881023e9
tree49276c72671107010a365ead2eb946686b091432
parent1e2677be72e2b0c180ed1be38d1868b4829ad530
Run the analysis process only once per closure, on the way up the tree.
This was the intention before but silly coding caused it to run twice if
there are nested closures.
src/librustc_typeck/check/upvar.rs