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 @@ -1361,7 +1361,7 @@ pub(crate) fn runnable(
1361
1361
label,
1362
1362
location : Some ( location) ,
1363
1363
kind : lsp_ext:: RunnableKind :: Cargo ,
1364
- args : lsp_ext:: CargoRunnable {
1364
+ args : lsp_ext:: CargoRunnableArgs {
1365
1365
workspace_root : Some ( workspace_root. into ( ) ) ,
1366
1366
override_cargo : config. override_cargo ,
1367
1367
cargo_args,
@@ -1381,7 +1381,7 @@ pub(crate) fn runnable(
1381
1381
label,
1382
1382
location : Some ( location) ,
1383
1383
kind : lsp_ext:: RunnableKind :: Cargo ,
1384
- args : lsp_ext:: CargoRunnable {
1384
+ args : lsp_ext:: CargoRunnableArgs {
1385
1385
workspace_root : None ,
1386
1386
override_cargo : config. override_cargo ,
1387
1387
cargo_args,
You can’t perform that action at this time.
0 commit comments