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(
851851 ) ,
852852 location : None ,
853853 kind : lsp_ext:: RunnableKind :: Cargo ,
854- args : lsp_ext:: CargoRunnable {
854+ args : lsp_ext:: CargoRunnableArgs {
855855 workspace_root : Some ( spec. workspace_root . clone ( ) . into ( ) ) ,
856856 override_cargo : config. override_cargo . clone ( ) ,
857857 cargo_args,
@@ -868,7 +868,7 @@ pub(crate) fn handle_runnables(
868868 label : "cargo check --workspace" . to_owned ( ) ,
869869 location : None ,
870870 kind : lsp_ext:: RunnableKind :: Cargo ,
871- args : lsp_ext:: CargoRunnable {
871+ args : lsp_ext:: CargoRunnableArgs {
872872 workspace_root : None ,
873873 override_cargo : config. override_cargo ,
874874 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 {
423423 #[ serde( skip_serializing_if = "Option::is_none" ) ]
424424 pub location : Option < lsp_types:: LocationLink > ,
425425 pub kind : RunnableKind ,
426- pub args : CargoRunnable ,
426+ pub args : CargoRunnableArgs ,
427427}
428428
429429#[ derive( Serialize , Deserialize , Debug ) ]
@@ -434,7 +434,7 @@ pub enum RunnableKind {
434434
435435#[ derive( Deserialize , Serialize , Debug ) ]
436436#[ serde( rename_all = "camelCase" ) ]
437- pub struct CargoRunnable {
437+ pub struct CargoRunnableArgs {
438438 // command to be executed instead of cargo
439439 pub override_cargo : Option < String > ,
440440 #[ 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(
13641364 label,
13651365 location : Some ( location) ,
13661366 kind : lsp_ext:: RunnableKind :: Cargo ,
1367- args : lsp_ext:: CargoRunnable {
1367+ args : lsp_ext:: CargoRunnableArgs {
13681368 workspace_root : Some ( workspace_root. into ( ) ) ,
13691369 override_cargo : config. override_cargo ,
13701370 cargo_args,
@@ -1384,7 +1384,7 @@ pub(crate) fn runnable(
13841384 label,
13851385 location : Some ( location) ,
13861386 kind : lsp_ext:: RunnableKind :: Cargo ,
1387- args : lsp_ext:: CargoRunnable {
1387+ args : lsp_ext:: CargoRunnableArgs {
13881388 workspace_root : None ,
13891389 override_cargo : config. override_cargo ,
13901390 cargo_args,
You can’t perform that action at this time.
0 commit comments