Skip to content

Commit

Permalink
Actually use parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron1011 committed Mar 18, 2020
1 parent af3a5a8 commit 54e2a65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_parse/parser/expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2133,7 +2133,7 @@ impl<'a> Parser<'a> {
attrs: AttrVec,
tokens: Option<TokenStream>,
) -> P<Expr> {
P(Expr { kind, span, attrs, id: DUMMY_NODE_ID, tokens: None })
P(Expr { kind, span, attrs, id: DUMMY_NODE_ID, tokens })
}

crate fn mk_expr(&self, span: Span, kind: ExprKind, attrs: AttrVec) -> P<Expr> {
Expand Down

0 comments on commit 54e2a65

Please sign in to comment.