File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -23,15 +23,13 @@ use sqlx::Executor;
2323use std:: any:: type_name;
2424use std:: fmt:: Display ;
2525use std:: time:: Duration ;
26- use test_log:: test;
2726use tower:: timeout:: Timeout ;
2827use tower:: { Service , ServiceExt } ;
2928use tower_lsp:: LspService ;
3029use tower_lsp:: jsonrpc;
3130use tower_lsp:: jsonrpc:: Response ;
3231use tower_lsp:: lsp_types as lsp;
3332use tower_lsp:: lsp_types:: CodeActionContext ;
34- use tower_lsp:: lsp_types:: CodeActionOrCommand ;
3533use tower_lsp:: lsp_types:: CodeActionParams ;
3634use tower_lsp:: lsp_types:: CodeActionResponse ;
3735use tower_lsp:: lsp_types:: CompletionParams ;
@@ -250,6 +248,7 @@ impl Server {
250248 . await
251249 }
252250
251+ #[ allow( unused) ]
253252 async fn close_document ( & mut self ) -> Result < ( ) > {
254253 self . notify (
255254 "textDocument/didClose" ,
@@ -827,8 +826,8 @@ async fn test_execute_statement() -> Result<()> {
827826
828827 let doc_content = r#"
829828 create table users (
830- id serial primary key,
831- name text,
829+ id serial primary key,
830+ name text,
832831 email text
833832 );
834833 "# ;
Original file line number Diff line number Diff line change @@ -6,4 +6,6 @@ drop table unknown_users;
66select
77 *
88from
9- unknown_users;
9+ unknown_users;
10+
11+ sel 1 ;
You can’t perform that action at this time.
0 commit comments