Merge pull request #376 from zed-industries/bump-rust-analyzer

Max Brunsfeld created

Bump rust-analyzer to the 2022-01-24 release

Change summary

crates/lsp/src/lsp.rs         | 4 ++--
script/download-rust-analyzer | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)

Detailed changes

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()
             })
         );

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"