diff options
| author | bors <bors@rust-lang.org> | 2017-08-13 10:22:45 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-08-13 10:22:45 +0000 |
| commit | a80a873209a79499290201f8657618703a51b73e (patch) | |
| tree | 7cc9023e2d308290a6d242bd5a147e63111193c2 /src/libsyntax/parse | |
| parent | d4fbc7a4e781a211b19fa2154184b37d3d53d32b (diff) | |
| parent | a7ead41aecfdd591bbb552eb007708be2c0919de (diff) | |
| download | rust-a80a873209a79499290201f8657618703a51b73e.tar.gz rust-a80a873209a79499290201f8657618703a51b73e.zip | |
Auto merge of #43839 - GuillaumeGomez:rollup, r=GuillaumeGomez
Rollup of 8 pull requests - Successful merges: #43782, #43803, #43814, #43819, #43821, #43822, #43824, #43833 - Failed merges:
Diffstat (limited to 'src/libsyntax/parse')
| -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 7bf4c6799b3..15f05df58b5 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -3587,7 +3587,7 @@ impl<'a> Parser<'a> { /// Parse a local variable declaration fn parse_local(&mut self, attrs: ThinVec<Attribute>) -> PResult<'a, P<Local>> { - let lo = self.span; + let lo = self.prev_span; let pat = self.parse_pat()?; let ty = if self.eat(&token::Colon) { |
