Use closure parse code
This commit is contained in:
parent
05c516446a
commit
81a926cc2a
20 changed files with 137 additions and 68 deletions
|
@ -1762,6 +1762,11 @@ pub enum CaptureBy {
|
|||
},
|
||||
/// `move` keyword was not specified.
|
||||
Ref,
|
||||
/// `use |x| y + x`.
|
||||
Use {
|
||||
/// The span of the `use` keyword.
|
||||
use_kw: Span,
|
||||
},
|
||||
}
|
||||
|
||||
/// Closure lifetime binder, `for<'a, 'b>` in `for<'a, 'b> |_: &'a (), _: &'b ()|`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue