@@ -23,8 +23,8 @@ impl<'a, 'gcx, 'tcx> Builder<'a, 'gcx, 'tcx> {
2323 safety_mode
2424 } =
2525 self . hir . mirror ( ast_block) ;
26- self . in_opt_scope ( opt_destruction_scope. map ( |de|( de, source_info) ) , block , move |this| {
27- this. in_scope ( ( region_scope, source_info) , LintLevel :: Inherited , block , move |this| {
26+ self . in_opt_scope ( opt_destruction_scope. map ( |de|( de, source_info) ) , move |this| {
27+ this. in_scope ( ( region_scope, source_info) , LintLevel :: Inherited , move |this| {
2828 if targeted_by_break {
2929 // This is a `break`-able block
3030 let exit_block = this. cfg . start_new_block ( ) ;
@@ -83,9 +83,9 @@ impl<'a, 'gcx, 'tcx> Builder<'a, 'gcx, 'tcx> {
8383 StmtKind :: Expr { scope, expr } => {
8484 this. block_context . push ( BlockFrame :: Statement { ignores_expr_result : true } ) ;
8585 unpack ! ( block = this. in_opt_scope(
86- opt_destruction_scope. map( |de|( de, source_info) ) , block , |this| {
86+ opt_destruction_scope. map( |de|( de, source_info) ) , |this| {
8787 let si = ( scope, source_info) ;
88- this. in_scope( si, LintLevel :: Inherited , block , |this| {
88+ this. in_scope( si, LintLevel :: Inherited , |this| {
8989 let expr = this. hir. mirror( expr) ;
9090 this. stmt_expr( block, expr, Some ( stmt_span) )
9191 } )
@@ -128,9 +128,9 @@ impl<'a, 'gcx, 'tcx> Builder<'a, 'gcx, 'tcx> {
128128 Some ( ( None , initializer_span) ) ,
129129 ) ;
130130 unpack ! ( block = this. in_opt_scope(
131- opt_destruction_scope. map( |de|( de, source_info) ) , block , |this| {
131+ opt_destruction_scope. map( |de|( de, source_info) ) , |this| {
132132 let scope = ( init_scope, source_info) ;
133- this. in_scope( scope, lint_level, block , |this| {
133+ this. in_scope( scope, lint_level, |this| {
134134 this. expr_into_pattern( block, pattern, init)
135135 } )
136136 } ) ) ;
0 commit comments