@@ -4427,9 +4427,8 @@ impl<'a> LoweringContext<'a> {
44274427 ThinVec :: new ( ) ,
44284428 ) )
44294429 } ;
4430- let LoweredNodeId { node_id, hir_id } = self . next_id ( ) ;
4430+ let LoweredNodeId { node_id : _ , hir_id } = self . next_id ( ) ;
44314431 let match_stmt = hir:: Stmt {
4432- id : node_id,
44334432 hir_id,
44344433 node : hir:: StmtKind :: Expr ( match_expr) ,
44354434 span : head_sp,
@@ -4456,9 +4455,8 @@ impl<'a> LoweringContext<'a> {
44564455
44574456 let body_block = self . with_loop_scope ( e. id , |this| this. lower_block ( body, false ) ) ;
44584457 let body_expr = P ( self . expr_block ( body_block, ThinVec :: new ( ) ) ) ;
4459- let LoweredNodeId { node_id, hir_id } = self . next_id ( ) ;
4458+ let LoweredNodeId { node_id : _ , hir_id } = self . next_id ( ) ;
44604459 let body_stmt = hir:: Stmt {
4461- id : node_id,
44624460 hir_id,
44634461 node : hir:: StmtKind :: Expr ( body_expr) ,
44644462 span : body. span ,
@@ -4639,21 +4637,19 @@ impl<'a> LoweringContext<'a> {
46394637 let mut ids: SmallVec <[ hir:: Stmt ; 1 ] > = item_ids
46404638 . into_iter( )
46414639 . map( |item_id| {
4642- let LoweredNodeId { node_id, hir_id } = self . next_id( ) ;
4640+ let LoweredNodeId { node_id: _ , hir_id } = self . next_id( ) ;
46434641
46444642 hir:: Stmt {
4645- id: node_id,
46464643 hir_id,
46474644 node: hir:: StmtKind :: Item ( item_id) ,
46484645 span: s. span,
46494646 }
46504647 } )
46514648 . collect( ) ;
46524649 ids. push( {
4653- let LoweredNodeId { node_id, hir_id } = self . lower_node_id( s. id) ;
4650+ let LoweredNodeId { node_id: _ , hir_id } = self . lower_node_id( s. id) ;
46544651
46554652 hir:: Stmt {
4656- id: node_id,
46574653 hir_id,
46584654 node: hir:: StmtKind :: Local ( P ( l) ) ,
46594655 span: s. span,
@@ -4667,12 +4663,11 @@ impl<'a> LoweringContext<'a> {
46674663 return self . lower_item_id( it)
46684664 . into_iter( )
46694665 . map( |item_id| {
4670- let LoweredNodeId { node_id, hir_id } = id. take( )
4666+ let LoweredNodeId { node_id: _ , hir_id } = id. take( )
46714667 . map( |id| self . lower_node_id( id) )
46724668 . unwrap_or_else( || self . next_id( ) ) ;
46734669
46744670 hir:: Stmt {
4675- id: node_id,
46764671 hir_id,
46774672 node: hir:: StmtKind :: Item ( item_id) ,
46784673 span: s. span,
@@ -4681,20 +4676,18 @@ impl<'a> LoweringContext<'a> {
46814676 . collect( ) ;
46824677 }
46834678 StmtKind :: Expr ( ref e) => {
4684- let LoweredNodeId { node_id, hir_id } = self . lower_node_id( s. id) ;
4679+ let LoweredNodeId { node_id: _ , hir_id } = self . lower_node_id( s. id) ;
46854680
46864681 hir:: Stmt {
4687- id: node_id,
46884682 hir_id,
46894683 node: hir:: StmtKind :: Expr ( P ( self . lower_expr( e) ) ) ,
46904684 span: s. span,
46914685 }
46924686 } ,
46934687 StmtKind :: Semi ( ref e) => {
4694- let LoweredNodeId { node_id, hir_id } = self . lower_node_id( s. id) ;
4688+ let LoweredNodeId { node_id: _ , hir_id } = self . lower_node_id( s. id) ;
46954689
46964690 hir:: Stmt {
4697- id: node_id,
46984691 hir_id,
46994692 node: hir:: StmtKind :: Semi ( P ( self . lower_expr( e) ) ) ,
47004693 span: s. span,
@@ -4925,9 +4918,8 @@ impl<'a> LoweringContext<'a> {
49254918 source,
49264919 } ;
49274920
4928- let LoweredNodeId { node_id, hir_id } = self . next_id ( ) ;
4921+ let LoweredNodeId { node_id : _ , hir_id } = self . next_id ( ) ;
49294922 hir:: Stmt {
4930- id : node_id,
49314923 hir_id,
49324924 node : hir:: StmtKind :: Local ( P ( local) ) ,
49334925 span : sp
0 commit comments