File tree Expand file tree Collapse file tree 2 files changed +0
-85
lines changed Expand file tree Collapse file tree 2 files changed +0
-85
lines changed Original file line number Diff line number Diff line change @@ -57,47 +57,6 @@ pub fn rustfnmt_test0_3(condition: bool) {
57
57
} ;
58
58
}
59
59
60
- // test0: the cause reported in issue: label is used, and there is usage, multiple statements
61
- pub fn rustfnmt_test0_0 ( condition : bool ) {
62
- test_macro ! ( |transaction| ' block: {
63
- if condition {
64
- break ' block 0 ;
65
- }
66
-
67
- todo!( )
68
- } ) ;
69
- }
70
-
71
- pub fn rustfnmt_test0_1 ( condition : bool ) {
72
- test_func ( |transaction| ' block: {
73
- if condition {
74
- break ' block 0 ;
75
- }
76
-
77
- todo ! ( )
78
- } ) ;
79
- }
80
-
81
- pub fn rustfnmt_test0_2 ( condition : bool ) {
82
- test_func2 ( |transaction| ' block: {
83
- if condition {
84
- break ' block 0 ;
85
- }
86
-
87
- todo ! ( )
88
- } , 0 ) ;
89
- }
90
-
91
- pub fn rustfnmt_test0_3 ( condition : bool ) {
92
- let x = |transaction| ' block: {
93
- if condition {
94
- break ' block 0 ;
95
- }
96
-
97
- todo ! ( )
98
- } ;
99
- }
100
-
101
60
102
61
// test1: label is unused, and there is usage, multiple statements
103
62
pub fn rustfnmt_test1_0 ( condition : bool ) {
Original file line number Diff line number Diff line change @@ -58,50 +58,6 @@ pub fn rustfnmt_test0_3(condition: bool) {
58
58
} ;
59
59
}
60
60
61
- // test0: the cause reported in issue: label is used, and there is usage, multiple statements
62
- pub fn rustfnmt_test0_0 ( condition : bool ) {
63
- test_macro ! ( |transaction| ' block: {
64
- if condition {
65
- break ' block 0 ;
66
- }
67
-
68
- todo!( )
69
- } ) ;
70
- }
71
-
72
- pub fn rustfnmt_test0_1 ( condition : bool ) {
73
- test_func ( |transaction| ' block: {
74
- if condition {
75
- break ' block 0 ;
76
- }
77
-
78
- todo ! ( )
79
- } ) ;
80
- }
81
-
82
- pub fn rustfnmt_test0_2 ( condition : bool ) {
83
- test_func2 (
84
- |transaction| ' block: {
85
- if condition {
86
- break ' block 0 ;
87
- }
88
-
89
- todo ! ( )
90
- } ,
91
- 0 ,
92
- ) ;
93
- }
94
-
95
- pub fn rustfnmt_test0_3 ( condition : bool ) {
96
- let x = |transaction| ' block: {
97
- if condition {
98
- break ' block 0 ;
99
- }
100
-
101
- todo ! ( )
102
- } ;
103
- }
104
-
105
61
// test1: label is unused, and there is usage, multiple statements
106
62
pub fn rustfnmt_test1_0 ( condition : bool ) {
107
63
test_macro ! ( |transaction| ' block: {
You can’t perform that action at this time.
0 commit comments