aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md8
-rw-r--r--crates/ra_hir_ty/src/diagnostics.rs4
-rw-r--r--crates/ra_ide/src/diagnostics.rs2
-rw-r--r--docs/user/readme.adoc4
4 files changed, 11 insertions, 7 deletions
diff --git a/README.md b/README.md
index 1c334d55e..1e7c3e9b4 100644
--- a/README.md
+++ b/README.md
@@ -27,9 +27,13 @@ If you want to **use** rust-analyzer's language server with your editor of
27choice, check [the manual](https://rust-analyzer.github.io/manual.html) folder. It also contains some tips & tricks to help 27choice, check [the manual](https://rust-analyzer.github.io/manual.html) folder. It also contains some tips & tricks to help
28you be more productive when using rust-analyzer. 28you be more productive when using rust-analyzer.
29 29
30## Getting in touch 30## Communication
31 31
32We are on the rust-lang Zulip! 32For usage and troubleshooting requests, please use "IDEs and Editors" category of the Rust forum:
33
34https://users.rust-lang.org/c/ide/14
35
36For questions about development and implementation, join rls-2.0 working group on Zulip:
33 37
34https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Frls-2.2E0 38https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Frls-2.2E0
35 39
diff --git a/crates/ra_hir_ty/src/diagnostics.rs b/crates/ra_hir_ty/src/diagnostics.rs
index 41ac70272..2c7298714 100644
--- a/crates/ra_hir_ty/src/diagnostics.rs
+++ b/crates/ra_hir_ty/src/diagnostics.rs
@@ -40,7 +40,7 @@ impl Diagnostic for MissingFields {
40 fn message(&self) -> String { 40 fn message(&self) -> String {
41 let mut buf = String::from("Missing structure fields:\n"); 41 let mut buf = String::from("Missing structure fields:\n");
42 for field in &self.missed_fields { 42 for field in &self.missed_fields {
43 format_to!(buf, "- {}", field); 43 format_to!(buf, "- {}\n", field);
44 } 44 }
45 buf 45 buf
46 } 46 }
@@ -73,7 +73,7 @@ impl Diagnostic for MissingPatFields {
73 fn message(&self) -> String { 73 fn message(&self) -> String {
74 let mut buf = String::from("Missing structure fields:\n"); 74 let mut buf = String::from("Missing structure fields:\n");
75 for field in &self.missed_fields { 75 for field in &self.missed_fields {
76 format_to!(buf, "- {}", field); 76 format_to!(buf, "- {}\n", field);
77 } 77 }
78 buf 78 buf
79 } 79 }
diff --git a/crates/ra_ide/src/diagnostics.rs b/crates/ra_ide/src/diagnostics.rs
index 3d83c0f71..15dc50cf1 100644
--- a/crates/ra_ide/src/diagnostics.rs
+++ b/crates/ra_ide/src/diagnostics.rs
@@ -664,7 +664,7 @@ mod tests {
664 assert_debug_snapshot!(diagnostics, @r###" 664 assert_debug_snapshot!(diagnostics, @r###"
665 [ 665 [
666 Diagnostic { 666 Diagnostic {
667 message: "Missing structure fields:\n- b", 667 message: "Missing structure fields:\n- b\n",
668 range: 224..233, 668 range: 224..233,
669 severity: Error, 669 severity: Error,
670 fix: Some( 670 fix: Some(
diff --git a/docs/user/readme.adoc b/docs/user/readme.adoc
index 40ed54809..9539d326d 100644
--- a/docs/user/readme.adoc
+++ b/docs/user/readme.adoc
@@ -9,8 +9,6 @@
9:caution-caption: :fire: 9:caution-caption: :fire:
10:warning-caption: :warning: 10:warning-caption: :warning:
11 11
12
13
14// Master copy of this document lives in the https://github.com/rust-analyzer/rust-analyzer repository 12// Master copy of this document lives in the https://github.com/rust-analyzer/rust-analyzer repository
15 13
16At its core, rust-analyzer is a *library* for semantic analysis of Rust code as it changes over time. 14At its core, rust-analyzer is a *library* for semantic analysis of Rust code as it changes over time.
@@ -21,6 +19,8 @@ The LSP allows various code editors, like VS Code, Emacs or Vim, to implement se
21To improve this document, send a pull request against 19To improve this document, send a pull request against
22https://github.com/rust-analyzer/rust-analyzer/blob/master/docs/user/readme.adoc[this file]. 20https://github.com/rust-analyzer/rust-analyzer/blob/master/docs/user/readme.adoc[this file].
23 21
22If you have questions about using rust-analyzer, please ask them in the https://users.rust-lang.org/c/ide/14["`IDEs and Editors`"] topic of Rust users forum.
23
24== Installation 24== Installation
25 25
26In theory, one should be able to just install the <<rust-analyzer-language-server-binary,`rust-analyzer` binary>> and have it automatically work with any editor. 26In theory, one should be able to just install the <<rust-analyzer-language-server-binary,`rust-analyzer` binary>> and have it automatically work with any editor.