File tree 2 files changed +4
-4
lines changed
src/tools/rust-analyzer/editors/code
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ function orderFromPath(
157
157
const raDate = raVersion ?. match ( / ^ r u s t - a n a l y z e r .* \( .* ( \d { 4 } - \d { 2 } - \d { 2 } ) \) $ / ) ;
158
158
if ( raDate ?. length === 2 ) {
159
159
const precedence = path . includes ( "nightly-" ) ? "0" : "1" ;
160
- return precedence + " -" + raDate [ 1 ] ;
160
+ return "0 -" + raDate [ 1 ] + "/" + precedence ;
161
161
} else {
162
162
return "2" ;
163
163
}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export async function getTests(ctx: Context) {
16
16
return "rust-analyzer 1.67.0-nightly (b7bc90fe 2022-11-21)" ;
17
17
} ,
18
18
) ,
19
- "0-2022-11-21" ,
19
+ "0-2022-11-21/0 " ,
20
20
) ;
21
21
} ) ;
22
22
@@ -32,7 +32,7 @@ export async function getTests(ctx: Context) {
32
32
return "rust-analyzer 1.72.1 (d5c2e9c3 2023-09-13)" ;
33
33
} ,
34
34
) ,
35
- "1 -2023-09-13" ,
35
+ "0 -2023-09-13/1 " ,
36
36
) ;
37
37
} ) ;
38
38
@@ -60,7 +60,7 @@ export async function getTests(ctx: Context) {
60
60
return "rust-analyzer 1.79.0 (129f3b99 2024-06-10)" ;
61
61
} ,
62
62
) ,
63
- "1 -2024-06-10" ,
63
+ "0 -2024-06-10/1 " ,
64
64
) ;
65
65
} ) ;
66
66
You can’t perform that action at this time.
0 commit comments