File tree Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ LL | | }
1616 |
1717help: put the `;` outside the block
1818 |
19- LL | unsafe {
20- LL | f(x)
21- LL | };
19+ LL ~ unsafe {
20+ LL + f(x)
21+ LL + };
2222 |
2323
2424error: consider moving the `;` outside the block for consistent formatting
@@ -35,12 +35,12 @@ LL | | };
3535 |
3636help: put the `;` outside the block
3737 |
38- LL | unsafe {
39- LL | let _this = 1;
40- LL | let _is = 2;
41- LL | let _a = 3;
42- LL | let _long = 4;
43- LL | let _list = 5;
38+ LL ~ unsafe {
39+ LL + let _this = 1;
40+ LL + let _is = 2;
41+ LL + let _a = 3;
42+ LL + let _long = 4;
43+ LL + let _list = 5;
4444 ...
4545
4646error: consider moving the `;` outside the block for consistent formatting
@@ -54,9 +54,9 @@ LL | | };
5454 |
5555help: put the `;` outside the block
5656 |
57- LL | let _d = || {
58- LL | get_unit()
59- LL | };
57+ LL ~ let _d = || {
58+ LL + get_unit()
59+ LL + };
6060 |
6161
6262error: consider moving the `;` outside the block for consistent formatting
@@ -71,11 +71,11 @@ LL | | }
7171 |
7272help: put the `;` outside the block
7373 |
74- LL | {
75- LL | let y = 42;
76- LL | x = y + 1;
77- LL | get_unit()
78- LL | };
74+ LL ~ {
75+ LL + let y = 42;
76+ LL + x = y + 1;
77+ LL + get_unit()
78+ LL + };
7979 |
8080
8181error: aborting due to 5 previous errors
You can’t perform that action at this time.
0 commit comments