@@ -791,7 +791,7 @@ impl<'a, 'b> Context<'a, 'b> {
791
791
// Thus in the not nicely ordered case we emit the following instead:
792
792
//
793
793
// match (&$arg0, &$arg1, …) {
794
- // _args => [ArgumentV1::new(_args .$i, …), ArgumentV1::new(_args .$j, …), …]
794
+ // args => [ArgumentV1::new(args .$i, …), ArgumentV1::new(args .$j, …), …]
795
795
// }
796
796
//
797
797
// for the sequence of indices $i, $j, … governed by fmt_arg_index_and_ty.
@@ -804,7 +804,7 @@ impl<'a, 'b> Context<'a, 'b> {
804
804
self . ecx . expr_addr_of ( expansion_span, P ( e. take ( ) ) )
805
805
} else {
806
806
let def_site = self . ecx . with_def_site_ctxt ( span) ;
807
- let args_tuple = self . ecx . expr_ident ( def_site, Ident :: new ( sym:: _args , def_site) ) ;
807
+ let args_tuple = self . ecx . expr_ident ( def_site, Ident :: new ( sym:: args , def_site) ) ;
808
808
let member = Ident :: new ( sym:: integer ( arg_index) , def_site) ;
809
809
self . ecx . expr ( def_site, ast:: ExprKind :: Field ( args_tuple, member) )
810
810
} ;
@@ -828,7 +828,7 @@ impl<'a, 'b> Context<'a, 'b> {
828
828
. map ( |e| self . ecx . expr_addr_of ( e. span . with_ctxt ( self . macsp . ctxt ( ) ) , e) )
829
829
. collect ( ) ;
830
830
831
- let pat = self . ecx . pat_ident ( self . macsp , Ident :: new ( sym:: _args , self . macsp ) ) ;
831
+ let pat = self . ecx . pat_ident ( self . macsp , Ident :: new ( sym:: args , self . macsp ) ) ;
832
832
let arm = self . ecx . arm ( self . macsp , pat, args_array) ;
833
833
let head = self . ecx . expr ( self . macsp , ast:: ExprKind :: Tup ( heads) ) ;
834
834
self . ecx . expr_match ( self . macsp , head, vec ! [ arm] )
0 commit comments