syntax: Warning police
This commit is contained in:
@@ -932,8 +932,8 @@ pub impl Parser {
|
||||
loop {
|
||||
match *self.token {
|
||||
token::MOD_SEP => {
|
||||
match self.look_ahead(1u) {
|
||||
token::IDENT(id,_) => {
|
||||
match self.look_ahead(1) {
|
||||
token::IDENT(*) => {
|
||||
self.bump();
|
||||
ids.push(self.parse_ident());
|
||||
}
|
||||
@@ -3693,7 +3693,7 @@ pub impl Parser {
|
||||
items: _,
|
||||
foreign_items: foreign_items
|
||||
} = self.parse_foreign_items(first_item_attrs, true);
|
||||
let mut initial_attrs = attrs_remaining;
|
||||
let _initial_attrs = attrs_remaining;
|
||||
assert!(*self.token == token::RBRACE);
|
||||
ast::foreign_mod {
|
||||
sort: sort,
|
||||
|
||||
Reference in New Issue
Block a user