diff options
| author | Arpad Borsos <swatinem@swatinem.de> | 2023-01-31 22:13:25 +0100 |
|---|---|---|
| committer | Arpad Borsos <swatinem@swatinem.de> | 2023-03-19 19:01:31 +0100 |
| commit | c8ead2e693a22fe94c6b3edeb3f49c7e6aec3912 (patch) | |
| tree | 07e83c69328ae2c509faba9ccb881ef55e4afc78 /compiler/rustc_parse/src | |
| parent | ab9bb3ea368b2412531a3e8c07ba73d1dd690134 (diff) | |
| download | rust-c8ead2e693a22fe94c6b3edeb3f49c7e6aec3912.tar.gz rust-c8ead2e693a22fe94c6b3edeb3f49c7e6aec3912.zip | |
Remove the `NodeId` of `ast::ExprKind::Async`
Diffstat (limited to 'compiler/rustc_parse/src')
| -rw-r--r-- | compiler/rustc_parse/src/parser/expr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/expr.rs b/compiler/rustc_parse/src/parser/expr.rs index 296eb4d653c..df030df153c 100644 --- a/compiler/rustc_parse/src/parser/expr.rs +++ b/compiler/rustc_parse/src/parser/expr.rs @@ -2917,7 +2917,7 @@ impl<'a> Parser<'a> { self.expect_keyword(kw::Async)?; let capture_clause = self.parse_capture_clause()?; let (attrs, body) = self.parse_inner_attrs_and_block()?; - let kind = ExprKind::Async(capture_clause, DUMMY_NODE_ID, body); + let kind = ExprKind::Async(capture_clause, body); Ok(self.mk_expr_with_attrs(lo.to(self.prev_token.span), kind, attrs)) } |
