From 353f7ce2ec221d44e7dfc27655489c07ca557d4c Mon Sep 17 00:00:00 2001
From: Aleksey Kladov <aleksey.kladov@gmail.com>
Date: Mon, 17 Feb 2020 10:55:08 +0100
Subject: [PATCH] Mention rust-src

---
 docs/user/readme.adoc | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/docs/user/readme.adoc b/docs/user/readme.adoc
index 553687e7899..57a8cbe312d 100644
--- a/docs/user/readme.adoc
+++ b/docs/user/readme.adoc
@@ -19,6 +19,13 @@ https://github.com/rust-analyzer/rust-analyzer/blob/master/docs/user/readme.adoc
 In theory, one should be able to just install the server binary and have it automatically work with any editor.
 We are not there yet, so some editor specific setup is required.
 
+Additionally, rust-analyzer needs sources of the standard library.
+This commands adds them:
+
+```bash
+$ rustup component add rust-src
+```
+
 === VS Code
 
 This the best supported editor at the moment.