@@ -12,11 +12,11 @@ use tower_lsp::lsp_types::{
1212    DocumentDiagnosticReport ,  DocumentDiagnosticReportResult ,  DocumentFormattingParams , 
1313    DocumentHighlight ,  DocumentHighlightParams ,  FullDocumentDiagnosticReport ,  GotoDefinitionParams , 
1414    GotoDefinitionResponse ,  Hover ,  HoverParams ,  HoverProviderCapability ,  InitializeParams , 
15-     InitializeResult ,  InitializedParams ,  Location ,  MessageType ,  OneOf ,  Position , 
16-     PrepareRenameResponse ,  Range ,  ReferenceParams ,  RelatedFullDocumentDiagnosticReport , 
15+     InitializeResult ,  InitializedParams ,  Location ,  MessageType ,  OneOf ,  PartialResultParams , 
16+     Position ,   PrepareRenameResponse ,  Range ,  ReferenceParams ,  RelatedFullDocumentDiagnosticReport , 
1717    RenameOptions ,  RenameParams ,  ServerCapabilities ,  TextDocumentIdentifier , 
1818    TextDocumentPositionParams ,  TextDocumentSyncCapability ,  TextDocumentSyncKind ,  TextEdit , 
19-     WorkspaceEdit , 
19+     WorkDoneProgressOptions ,   WorkDoneProgressParams ,   WorkspaceEdit , 
2020} ; 
2121use  tower_lsp:: { Client ,  LanguageServer } ; 
2222use  tracing:: Instrument  as  _; 
@@ -97,9 +97,9 @@ impl BriocheLspServer {
9797            . send ( JsLspMessage :: Diagnostic ( DocumentDiagnosticParams  { 
9898                identifier :  None , 
9999                previous_result_id :  None , 
100-                 partial_result_params :  Default :: default ( ) , 
100+                 partial_result_params :  PartialResultParams :: default ( ) , 
101101                text_document, 
102-                 work_done_progress_params :  Default :: default ( ) , 
102+                 work_done_progress_params :  WorkDoneProgressParams :: default ( ) , 
103103            } ) ) 
104104            . await ?; 
105105        Ok ( diagnostics) 
@@ -126,7 +126,7 @@ impl LanguageServer for BriocheLspServer {
126126                document_highlight_provider :  Some ( OneOf :: Left ( true ) ) , 
127127                rename_provider :  Some ( OneOf :: Right ( RenameOptions  { 
128128                    prepare_provider :  Some ( true ) , 
129-                     work_done_progress_options :  Default :: default ( ) , 
129+                     work_done_progress_options :  WorkDoneProgressOptions :: default ( ) , 
130130                } ) ) , 
131131                document_formatting_provider :  Some ( OneOf :: Left ( true ) ) , 
132132                ..Default :: default ( ) 
0 commit comments