Store LocalDefId in hir::Closure.
This commit is contained in:
parent
dba1503ed3
commit
290f0781b4
10 changed files with 24 additions and 23 deletions
|
@ -921,6 +921,7 @@ pub struct Crate<'hir> {
|
|||
|
||||
#[derive(Debug, HashStable_Generic)]
|
||||
pub struct Closure<'hir> {
|
||||
pub def_id: LocalDefId,
|
||||
pub binder: ClosureBinder,
|
||||
pub capture_clause: CaptureBy,
|
||||
pub bound_generic_params: &'hir [GenericParam<'hir>],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue