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

Bump rust-analyzer to the 2022-01-24 release
This commit is contained in:
Max Brunsfeld
2022-01-28 13:24:24 -07:00
committed by GitHub
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -589,7 +589,7 @@ mod tests {
use util::test::temp_tree; use util::test::temp_tree;
#[gpui::test] #[gpui::test]
async fn test_basic(cx: TestAppContext) { async fn test_rust_analyzer(cx: TestAppContext) {
let lib_source = r#" let lib_source = r#"
fn fun() { fn fun() {
let hello = "world"; let hello = "world";
@@ -645,7 +645,7 @@ mod tests {
assert_eq!( assert_eq!(
hover.contents, hover.contents,
HoverContents::Markup(MarkupContent { HoverContents::Markup(MarkupContent {
kind: MarkupKind::Markdown, kind: MarkupKind::PlainText,
value: "&str".to_string() value: "&str".to_string()
}) })
); );
+1 -1
View File
@@ -2,7 +2,7 @@
set -e 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 { function download {
local filename="rust-analyzer-$1" local filename="rust-analyzer-$1"