File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ fn foo(
16
16
17
17
fn skip_on_statements() {
18
18
#[rustfmt::skip]
19
- 5+3;
19
+ { 5+3; }
20
20
}
21
21
22
22
#[rustfmt::skip]
@@ -33,11 +33,11 @@ mod foo {
33
33
#[clippy::msrv = "1.29"]
34
34
fn msrv_1_29() {
35
35
#[cfg_attr(rustfmt, rustfmt::skip)]
36
- 1+29;
36
+ { 1+29; }
37
37
}
38
38
39
39
#[clippy::msrv = "1.30"]
40
40
fn msrv_1_30() {
41
41
#[rustfmt::skip]
42
- 1+30;
42
+ { 1+30; }
43
43
}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ fn foo(
16
16
17
17
fn skip_on_statements ( ) {
18
18
#[ cfg_attr( rustfmt, rustfmt:: skip) ]
19
- 5 +3 ;
19
+ { 5 +3 ; }
20
20
}
21
21
22
22
#[ cfg_attr( rustfmt, rustfmt_skip) ]
@@ -33,11 +33,11 @@ mod foo {
33
33
#[ clippy:: msrv = "1.29" ]
34
34
fn msrv_1_29 ( ) {
35
35
#[ cfg_attr( rustfmt, rustfmt:: skip) ]
36
- 1 +29 ;
36
+ { 1 +29 ; }
37
37
}
38
38
39
39
#[ clippy:: msrv = "1.30" ]
40
40
fn msrv_1_30 ( ) {
41
41
#[ cfg_attr( rustfmt, rustfmt:: skip) ]
42
- 1 +30 ;
42
+ { 1 +30 ; }
43
43
}
You can’t perform that action at this time.
0 commit comments