about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorDhruv Jauhar <dhruv.jauhar@databricks.com>2020-05-25 12:57:47 -0700
committerDhruv Jauhar <dhruv.jauhar@databricks.com>2020-05-25 16:41:56 -0700
commitc3dc8c455cee65db8928913da029725046c14a1b (patch)
tree4aaaddc02998d1d33d30a80ee8831c1cd2fe2cb4 /library/std/src
parenta0f06d11ae7fe29c8e263e2a5d8cd41b372f0283 (diff)
downloadrust-c3dc8c455cee65db8928913da029725046c14a1b.tar.gz
rust-c3dc8c455cee65db8928913da029725046c14a1b.zip
Rename upvar_list to closure_captures
As part of supporting RFC 2229, we will be capturing all the places that
are mentioned in a closure. Currently the upvar_list field gives access
to a FxIndexMap<HirId, Upvar> map. Eventually this will change, with the
upvar_list having a more general structure that expresses captured
paths, not just the mentioned upvars. We will make those changes in
subsequent PRs.

This commit modifies the name of the upvar_list map to closure_captures
in TypeckTables.

Co-authored-by: Dhruv Jauhar <dhruvjhr@gmail.com>
Co-authored-by: Aman Arora <me@aman-arora.com>
Diffstat (limited to 'library/std/src')
0 files changed, 0 insertions, 0 deletions