From ccba78e330463ea9eee00f745e0b489379059bd9 Mon Sep 17 00:00:00 2001 From: Tom French <15848336+TomAFrench@users.noreply.github.com> Date: Fri, 4 Aug 2023 12:42:52 +0100 Subject: [PATCH] chore!: remove unused flags on LSP command (#2170) chore: remove unused flags on LSP command --- crates/nargo_cli/src/cli/lsp_cmd.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/crates/nargo_cli/src/cli/lsp_cmd.rs b/crates/nargo_cli/src/cli/lsp_cmd.rs index afb824c588..1a1028e271 100644 --- a/crates/nargo_cli/src/cli/lsp_cmd.rs +++ b/crates/nargo_cli/src/cli/lsp_cmd.rs @@ -5,7 +5,6 @@ use async_lsp::{ }; use clap::Args; use noir_lsp::NargoLspService; -use noirc_driver::CompileOptions; use tokio::io::BufReader; use tower::ServiceBuilder; @@ -13,10 +12,7 @@ use super::NargoConfig; use crate::errors::CliError; #[derive(Debug, Clone, Args)] -pub(crate) struct LspCommand { - #[clap(flatten)] - compile_options: CompileOptions, -} +pub(crate) struct LspCommand; pub(crate) fn run( // Backend is currently unused, but we might want to use it to inform the lsp in the future