File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -932,8 +932,8 @@ pub impl Parser {
932932 loop {
933933 match * self . token {
934934 token:: MOD_SEP => {
935- match self . look_ahead ( 1 u ) {
936- token:: IDENT ( id , _ ) => {
935+ match self . look_ahead ( 1 ) {
936+ token:: IDENT ( * ) => {
937937 self . bump ( ) ;
938938 ids. push ( self . parse_ident ( ) ) ;
939939 }
@@ -3693,7 +3693,7 @@ pub impl Parser {
36933693 items : _,
36943694 foreign_items : foreign_items
36953695 } = self . parse_foreign_items ( first_item_attrs, true ) ;
3696- let mut initial_attrs = attrs_remaining;
3696+ let _initial_attrs = attrs_remaining;
36973697 assert!( * self . token == token:: RBRACE ) ;
36983698 ast:: foreign_mod {
36993699 sort: sort,
Original file line number Diff line number Diff line change 2222
2323#[allow(vecs_implicitly_copyable)];
2424#[allow(non_camel_case_types)];
25- #[deny(deprecated_mode)];
2625#[deny(deprecated_pattern)];
2726
2827extern mod std(vers = "0.7-pre");
You can’t perform that action at this time.
0 commit comments