File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -761,7 +761,7 @@ impl Application {
761
761
true
762
762
} ) ;
763
763
764
- let diagnostics = params
764
+ let diagnostics: Vec < ( lsp :: Diagnostic , LanguageServerId ) > = params
765
765
. diagnostics
766
766
. into_iter ( )
767
767
. map ( |d| ( d, server_id) )
@@ -1241,8 +1241,8 @@ impl Application {
1241
1241
1242
1242
pub fn get_unchanged_diagnostic_sources (
1243
1243
doc : & Document ,
1244
- diagnostics : & Vec < ( lsp:: Diagnostic , LanguageServerId ) > ,
1245
- old_diagnostics : & Vec < ( lsp:: Diagnostic , LanguageServerId ) > ,
1244
+ diagnostics : & [ ( lsp:: Diagnostic , LanguageServerId ) ] ,
1245
+ old_diagnostics : & [ ( lsp:: Diagnostic , LanguageServerId ) ] ,
1246
1246
server_id : LanguageServerId ,
1247
1247
) -> Vec < String > {
1248
1248
let mut unchanged_diag_sources = Vec :: new ( ) ;
You can’t perform that action at this time.
0 commit comments