aboutsummaryrefslogtreecommitdiff
path: root/crates/rust-analyzer/src/diagnostics
diff options
context:
space:
mode:
authorJeremy Kolb <[email protected]>2020-07-11 22:29:45 +0100
committerJeremy Kolb <[email protected]>2020-07-11 22:29:45 +0100
commit007812dcaee26298f7b8580d5b0c60469047f2c9 (patch)
tree704d888860b7b6c2ff0791fea1b805b324d2e027 /crates/rust-analyzer/src/diagnostics
parent2653440f1c75206bd98e575bca73681aa27979ee (diff)
Update lsp-types to account for new CodeActionKind structure
Diffstat (limited to 'crates/rust-analyzer/src/diagnostics')
-rw-r--r--crates/rust-analyzer/src/diagnostics/to_proto.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/diagnostics/to_proto.rs b/crates/rust-analyzer/src/diagnostics/to_proto.rs
index 1b1e670c1..7be3ef984 100644
--- a/crates/rust-analyzer/src/diagnostics/to_proto.rs
+++ b/crates/rust-analyzer/src/diagnostics/to_proto.rs
@@ -112,7 +112,7 @@ fn map_rust_child_diagnostic(
112 title: rd.message.clone(), 112 title: rd.message.clone(),
113 id: None, 113 id: None,
114 group: None, 114 group: None,
115 kind: Some("quickfix".to_string()), 115 kind: Some(lsp_types::CodeActionKind::QUICKFIX),
116 edit: Some(lsp_ext::SnippetWorkspaceEdit { 116 edit: Some(lsp_ext::SnippetWorkspaceEdit {
117 // FIXME: there's no good reason to use edit_map here.... 117 // FIXME: there's no good reason to use edit_map here....
118 changes: Some(edit_map), 118 changes: Some(edit_map),