diff options
| author | bors <bors@rust-lang.org> | 2018-09-23 15:00:53 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-09-23 15:00:53 +0000 |
| commit | f49f6e73a8a2dd6ec9f86df9922ccfa2210d9eda (patch) | |
| tree | c690cdcb18ef4d4ab0260686d22c509a1b2a7cdf /src/libsyntax/parse/parser.rs | |
| parent | be91c35f3466843713b9b6c5a7238ba83aef3602 (diff) | |
| parent | b342f0017931180097f17905da8640f674165255 (diff) | |
| download | rust-f49f6e73a8a2dd6ec9f86df9922ccfa2210d9eda.tar.gz rust-f49f6e73a8a2dd6ec9f86df9922ccfa2210d9eda.zip | |
Auto merge of #54229 - davidtwco:issue-52534, r=pnkfelix
[nll] borrows that must be valid for a free lifetime should explain why Fixes #52534. r? @nikomatsakis
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 7a13beb7852..d6cbe47a66e 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -1848,7 +1848,7 @@ impl<'a> Parser<'a> { P(Ty { id: ast::DUMMY_NODE_ID, node: TyKind::Infer, - span: self.span, + span: self.prev_span, }) }; Ok(Arg { |
