Merge remote-tracking branch 'origin/master' into gen

This commit is contained in:
Alex Crichton 2017-08-14 19:36:13 -07:00
commit 1413253a41
232 changed files with 5063 additions and 2000 deletions

View file

@ -3595,7 +3595,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) {