Struct rustc::middle::ty::UpvarIdUnstable
[-] [+]
[src]
pub struct UpvarId { pub var_id: NodeId, pub closure_expr_id: NodeId, }
Upvars do not get their own node-id. Instead, we use the pair of the original var id (that is, the root variable that is referenced by the upvar) and the id of the closure expression.
Fields
var_id | |
closure_expr_id |