auto merge of #10915 : alexcrichton/rust/fixes, r=ILyoan

Just a little cleanup.
This commit is contained in:
bors 2013-12-18 05:01:47 -08:00
commit 5cea7db2a5
4 changed files with 15 additions and 28 deletions

View file

@ -4968,6 +4968,7 @@ impl Parser {
let mut vp = ~[self.parse_view_path()];
while *self.token == token::COMMA {
self.bump();
self.obsolete(*self.last_span, ObsoleteMultipleImport);
vp.push(self.parse_view_path());
}
return vp;