Clean up a handful of build warnings.
This commit is contained in:
parent
8450dc8f5e
commit
8bbf83b62a
20 changed files with 56 additions and 65 deletions
|
@ -2573,7 +2573,7 @@ impl Parser {
|
|||
fn parse_let(&self) -> @decl {
|
||||
let is_mutbl = self.eat_keyword(keywords::Mut);
|
||||
let lo = self.span.lo;
|
||||
let mut local = self.parse_local(is_mutbl);
|
||||
let local = self.parse_local(is_mutbl);
|
||||
while self.eat(&token::COMMA) {
|
||||
let _ = self.parse_local(is_mutbl);
|
||||
self.obsolete(*self.span, ObsoleteMultipleLocalDecl);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue