about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/rustc-dev-guide/src/building/suggested.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/doc/rustc-dev-guide/src/building/suggested.md b/src/doc/rustc-dev-guide/src/building/suggested.md
index 2368a1308ec..c23965b981c 100644
--- a/src/doc/rustc-dev-guide/src/building/suggested.md
+++ b/src/doc/rustc-dev-guide/src/building/suggested.md
@@ -57,6 +57,8 @@ To avoid these problems:
 - Add `--build-dir=build-rust-analyzer` to all of the custom `x` commands in
   your editor's rust-analyzer configuration.
   (Feel free to choose a different directory name if desired.)
+- Modify the `rust-analyzer.rustfmt.overrideCommand` setting so that it points
+  to the copy of `rustfmt` in that other build directory.
 - Modify the `rust-analyzer.procMacro.server` setting so that it points to the
   copy of `rust-analyzer-proc-macro-srv` in that other build directory.