rustc: Build up a list of upvars inside foreach bodies

This commit is contained in:
Patrick Walton 2011-03-10 16:49:00 -08:00
parent 60f86354ad
commit 7454b53411
2 changed files with 74 additions and 5 deletions

View file

@ -32,6 +32,7 @@ tag def {
def_const(def_id);
def_arg(def_id);
def_local(def_id);
def_upvar(def_id);
def_variant(def_id /* tag */, def_id /* variant */);
def_ty(def_id);
def_ty_arg(def_id);