diff options
-rw-r--r-- | Cargo.lock | 12 | ||||
-rw-r--r-- | crates/rust-analyzer/src/caps.rs | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/Cargo.lock b/Cargo.lock index 85ea4f178..5d50a766f 100644 --- a/Cargo.lock +++ b/Cargo.lock | |||
@@ -655,9 +655,9 @@ dependencies = [ | |||
655 | 655 | ||
656 | [[package]] | 656 | [[package]] |
657 | name = "lsp-types" | 657 | name = "lsp-types" |
658 | version = "0.74.0" | 658 | version = "0.74.1" |
659 | source = "registry+https://github.com/rust-lang/crates.io-index" | 659 | source = "registry+https://github.com/rust-lang/crates.io-index" |
660 | checksum = "820f746e5716ab9a2d664794636188bd003023b72e55404ee27105dc22869922" | 660 | checksum = "57c0e6a2b8837d27b29deb3f3e6dc1c6d2f57947677f9be1024e482ec5b59525" |
661 | dependencies = [ | 661 | dependencies = [ |
662 | "base64", | 662 | "base64", |
663 | "bitflags", | 663 | "bitflags", |
@@ -706,9 +706,9 @@ dependencies = [ | |||
706 | 706 | ||
707 | [[package]] | 707 | [[package]] |
708 | name = "mio" | 708 | name = "mio" |
709 | version = "0.6.21" | 709 | version = "0.6.22" |
710 | source = "registry+https://github.com/rust-lang/crates.io-index" | 710 | source = "registry+https://github.com/rust-lang/crates.io-index" |
711 | checksum = "302dec22bcf6bae6dfb69c647187f4b4d0fb6f535521f7bc022430ce8e12008f" | 711 | checksum = "fce347092656428bc8eaf6201042cb551b8d67855af7374542a92a0fbfcac430" |
712 | dependencies = [ | 712 | dependencies = [ |
713 | "cfg-if", | 713 | "cfg-if", |
714 | "fuchsia-zircon", | 714 | "fuchsia-zircon", |
@@ -749,9 +749,9 @@ dependencies = [ | |||
749 | 749 | ||
750 | [[package]] | 750 | [[package]] |
751 | name = "net2" | 751 | name = "net2" |
752 | version = "0.2.33" | 752 | version = "0.2.34" |
753 | source = "registry+https://github.com/rust-lang/crates.io-index" | 753 | source = "registry+https://github.com/rust-lang/crates.io-index" |
754 | checksum = "42550d9fb7b6684a6d404d9fa7250c2eb2646df731d1c06afc06dcee9e1bcf88" | 754 | checksum = "2ba7c918ac76704fb42afcbbb43891e72731f3dcca3bef2a19786297baf14af7" |
755 | dependencies = [ | 755 | dependencies = [ |
756 | "cfg-if", | 756 | "cfg-if", |
757 | "libc", | 757 | "libc", |
diff --git a/crates/rust-analyzer/src/caps.rs b/crates/rust-analyzer/src/caps.rs index c0d320926..44222d8bd 100644 --- a/crates/rust-analyzer/src/caps.rs +++ b/crates/rust-analyzer/src/caps.rs | |||
@@ -43,7 +43,7 @@ pub fn server_capabilities() -> ServerCapabilities { | |||
43 | code_action_provider: Some(CodeActionProviderCapability::Options(CodeActionOptions { | 43 | code_action_provider: Some(CodeActionProviderCapability::Options(CodeActionOptions { |
44 | // Advertise support for all built-in CodeActionKinds | 44 | // Advertise support for all built-in CodeActionKinds |
45 | code_action_kinds: Some(vec![ | 45 | code_action_kinds: Some(vec![ |
46 | String::new(), | 46 | lsp_types::code_action_kind::EMPTY.to_string(), |
47 | lsp_types::code_action_kind::QUICKFIX.to_string(), | 47 | lsp_types::code_action_kind::QUICKFIX.to_string(), |
48 | lsp_types::code_action_kind::REFACTOR.to_string(), | 48 | lsp_types::code_action_kind::REFACTOR.to_string(), |
49 | lsp_types::code_action_kind::REFACTOR_EXTRACT.to_string(), | 49 | lsp_types::code_action_kind::REFACTOR_EXTRACT.to_string(), |