Adjust span of closure param
This commit is contained in:
parent
262644d94a
commit
237cbe91a8
2 changed files with 2 additions and 2 deletions
|
@ -2268,7 +2268,7 @@ impl<'a> Parser<'a> {
|
|||
attrs: attrs.into(),
|
||||
ty,
|
||||
pat,
|
||||
span: lo.to(this.token.span),
|
||||
span: lo.to(this.prev_token.span),
|
||||
id: DUMMY_NODE_ID,
|
||||
is_placeholder: false,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue