diff --git a/crates/lsp/src/lsp.rs b/crates/lsp/src/lsp.rs index abadb6922f..d5a87f1aff 100644 --- a/crates/lsp/src/lsp.rs +++ b/crates/lsp/src/lsp.rs @@ -589,7 +589,7 @@ mod tests { use util::test::temp_tree; #[gpui::test] - async fn test_basic(cx: TestAppContext) { + async fn test_rust_analyzer(cx: TestAppContext) { let lib_source = r#" fn fun() { let hello = "world"; @@ -645,7 +645,7 @@ mod tests { assert_eq!( hover.contents, HoverContents::Markup(MarkupContent { - kind: MarkupKind::Markdown, + kind: MarkupKind::PlainText, value: "&str".to_string() }) ); diff --git a/script/download-rust-analyzer b/script/download-rust-analyzer index 8cc0c00e6f..8c366c5609 100755 --- a/script/download-rust-analyzer +++ b/script/download-rust-analyzer @@ -2,7 +2,7 @@ set -e -export RUST_ANALYZER_URL="https://github.com/rust-analyzer/rust-analyzer/releases/download/2021-10-18/" +export RUST_ANALYZER_URL="https://github.com/rust-analyzer/rust-analyzer/releases/download/2022-01-24/" function download { local filename="rust-analyzer-$1"