File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -851,7 +851,7 @@ pub(crate) fn handle_runnables(
851
851
) ,
852
852
location : None ,
853
853
kind : lsp_ext:: RunnableKind :: Cargo ,
854
- args : lsp_ext:: CargoRunnable {
854
+ args : lsp_ext:: CargoRunnableArgs {
855
855
workspace_root : Some ( spec. workspace_root . clone ( ) . into ( ) ) ,
856
856
override_cargo : config. override_cargo . clone ( ) ,
857
857
cargo_args,
@@ -868,7 +868,7 @@ pub(crate) fn handle_runnables(
868
868
label : "cargo check --workspace" . to_owned ( ) ,
869
869
location : None ,
870
870
kind : lsp_ext:: RunnableKind :: Cargo ,
871
- args : lsp_ext:: CargoRunnable {
871
+ args : lsp_ext:: CargoRunnableArgs {
872
872
workspace_root : None ,
873
873
override_cargo : config. override_cargo ,
874
874
cargo_args : vec ! [ "check" . to_owned( ) , "--workspace" . to_owned( ) ] ,
Original file line number Diff line number Diff line change @@ -423,7 +423,7 @@ pub struct Runnable {
423
423
#[ serde( skip_serializing_if = "Option::is_none" ) ]
424
424
pub location : Option < lsp_types:: LocationLink > ,
425
425
pub kind : RunnableKind ,
426
- pub args : CargoRunnable ,
426
+ pub args : CargoRunnableArgs ,
427
427
}
428
428
429
429
#[ derive( Serialize , Deserialize , Debug ) ]
@@ -434,7 +434,7 @@ pub enum RunnableKind {
434
434
435
435
#[ derive( Deserialize , Serialize , Debug ) ]
436
436
#[ serde( rename_all = "camelCase" ) ]
437
- pub struct CargoRunnable {
437
+ pub struct CargoRunnableArgs {
438
438
// command to be executed instead of cargo
439
439
pub override_cargo : Option < String > ,
440
440
#[ serde( skip_serializing_if = "Option::is_none" ) ]
Original file line number Diff line number Diff line change @@ -1364,7 +1364,7 @@ pub(crate) fn runnable(
1364
1364
label,
1365
1365
location : Some ( location) ,
1366
1366
kind : lsp_ext:: RunnableKind :: Cargo ,
1367
- args : lsp_ext:: CargoRunnable {
1367
+ args : lsp_ext:: CargoRunnableArgs {
1368
1368
workspace_root : Some ( workspace_root. into ( ) ) ,
1369
1369
override_cargo : config. override_cargo ,
1370
1370
cargo_args,
@@ -1384,7 +1384,7 @@ pub(crate) fn runnable(
1384
1384
label,
1385
1385
location : Some ( location) ,
1386
1386
kind : lsp_ext:: RunnableKind :: Cargo ,
1387
- args : lsp_ext:: CargoRunnable {
1387
+ args : lsp_ext:: CargoRunnableArgs {
1388
1388
workspace_root : None ,
1389
1389
override_cargo : config. override_cargo ,
1390
1390
cargo_args,
You can’t perform that action at this time.
0 commit comments