diff --git a/crates/assistant/src/slash_command/file_command.rs b/crates/assistant/src/slash_command/file_command.rs index 1d0fa2bf3ea981c8f8d2428405257850be5f1fec..dc4b126c0b6eb24f7be47098d0b80b58fea9f284 100644 --- a/crates/assistant/src/slash_command/file_command.rs +++ b/crates/assistant/src/slash_command/file_command.rs @@ -21,8 +21,6 @@ use ui::prelude::*; use util::ResultExt; use workspace::Workspace; -use crate::slash_command::diagnostics_command::collect_buffer_diagnostics; - pub(crate) struct FileSlashCommand; impl FileSlashCommand { @@ -539,8 +537,6 @@ pub fn append_buffer_to_output( output.text.push('\n'); let section_ix = output.sections.len(); - collect_buffer_diagnostics(output, buffer, false); - output.sections.insert( section_ix, build_entry_output_section(prev_len..output.text.len(), path, false, None),