diff options
| author | bors <bors@rust-lang.org> | 2019-09-09 16:33:43 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-09-09 16:33:43 +0000 |
| commit | 0b36e9dea3f2ff25b1d0df2669836c33cce89ae5 (patch) | |
| tree | e5e45ef04b46bdba8f8959029e7da415a58b0983 /src/libsyntax/parse/parser.rs | |
| parent | 45859b7ca764cafb14efb8c63a83d5e48dc5d016 (diff) | |
| parent | f7ee13040b66c323359c8aea139ba4d91db84376 (diff) | |
| download | rust-0b36e9dea3f2ff25b1d0df2669836c33cce89ae5.tar.gz rust-0b36e9dea3f2ff25b1d0df2669836c33cce89ae5.zip | |
Auto merge of #64313 - Centril:rollup-7w8b67g, r=Centril
Rollup of 5 pull requests
Successful merges:
- #63468 (Resolve attributes in several places)
- #64121 (Override `StepBy::{try_fold, try_rfold}`)
- #64278 (check git in bootstrap.py)
- #64306 (Fix typo in config.toml.example)
- #64312 (Unify escape usage)
Failed merges:
r? @ghost
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index fcaf5065dac..fcebfa29962 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -1040,7 +1040,14 @@ impl<'a> Parser<'a> { let span = lo.to(self.token.span); - Ok(Param { attrs: attrs.into(), id: DUMMY_NODE_ID, pat, span, ty }) + Ok(Param { + attrs: attrs.into(), + id: ast::DUMMY_NODE_ID, + is_placeholder: false, + pat, + span, + ty, + }) } /// Parses mutability (`mut` or nothing). |
