about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorSam Estep <sam@samestep.com>2024-11-13 08:37:25 -0500
committerGitHub <noreply@github.com>2024-11-13 21:37:25 +0800
commitb911dfc4a7afe754dfb95ab8f76650fbf631d488 (patch)
treec2e400196a6f999538551adae25053e2ad0b4420 /src/doc
parenta55257153a92afca0d4f0e385d29aeb91f6c9914 (diff)
downloadrust-b911dfc4a7afe754dfb95ab8f76650fbf631d488.tar.gz
rust-b911dfc4a7afe754dfb95ab8f76650fbf631d488.zip
Note Rustfmt for separate rust-analyzer directory (#2134)
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.