syntax: Warning police
This commit is contained in:
parent
18bf9bd55a
commit
1a5f11a11b
@ -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,
|
||||
|
@ -22,7 +22,6 @@
|
||||
|
||||
#[allow(vecs_implicitly_copyable)];
|
||||
#[allow(non_camel_case_types)];
|
||||
#[deny(deprecated_mode)];
|
||||
#[deny(deprecated_pattern)];
|
||||
|
||||
extern mod std(vers = "0.7-pre");
|
||||
|
Loading…
x
Reference in New Issue
Block a user