File tree 2 files changed +3
-4
lines changed 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -932,8 +932,8 @@ pub impl Parser {
932
932
loop {
933
933
match * self . token {
934
934
token:: MOD_SEP => {
935
- match self . look_ahead ( 1 u ) {
936
- token:: IDENT ( id , _ ) => {
935
+ match self . look_ahead ( 1 ) {
936
+ token:: IDENT ( * ) => {
937
937
self . bump ( ) ;
938
938
ids. push ( self . parse_ident ( ) ) ;
939
939
}
@@ -3693,7 +3693,7 @@ pub impl Parser {
3693
3693
items : _,
3694
3694
foreign_items : foreign_items
3695
3695
} = self . parse_foreign_items ( first_item_attrs, true ) ;
3696
- let mut initial_attrs = attrs_remaining;
3696
+ let _initial_attrs = attrs_remaining;
3697
3697
assert!( * self . token == token:: RBRACE ) ;
3698
3698
ast:: foreign_mod {
3699
3699
sort: sort,
Original file line number Diff line number Diff line change 22
22
23
23
#[allow(vecs_implicitly_copyable)];
24
24
#[allow(non_camel_case_types)];
25
- #[deny(deprecated_mode)];
26
25
#[deny(deprecated_pattern)];
27
26
28
27
extern mod std(vers = "0.7-pre");
You can’t perform that action at this time.
0 commit comments