Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'docs/book/src/faq.md')
-rw-r--r--docs/book/src/faq.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/book/src/faq.md b/docs/book/src/faq.md
new file mode 100644
index 0000000000..c872033090
--- /dev/null
+++ b/docs/book/src/faq.md
@@ -0,0 +1,7 @@
+# Troubleshooting FAQ
+
+### I see a warning "Variable `None` should have snake_case name, e.g. `none`"
+
+rust-analyzer fails to resolve `None`, and thinks you are binding to a variable
+named `None`. That's usually a sign of a corrupted sysroot. Try removing and re-installing
+it: `rustup component remove rust-src` then `rustup component install rust-src`.