From 8245ac00afd69ab2fa66bbf8b7bea47b9c8dd139 Mon Sep 17 00:00:00 2001 From: David Cuthbert Date: Sat, 12 Oct 2024 14:10:54 -0700 Subject: [PATCH] Fix VSCode check all targets parameter name The rust-analyzer.checkOnSave.allTargets parameter name is deprecated; VSCode highlights this as an unknown parameter (though it is still accepted by some versions of rust-analyzer). The new parameter name is rust-analyzer.check.allTargets. --- src/tooling/visual-studio-code.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tooling/visual-studio-code.md b/src/tooling/visual-studio-code.md index fc9b743..0962c3a 100644 --- a/src/tooling/visual-studio-code.md +++ b/src/tooling/visual-studio-code.md @@ -26,7 +26,7 @@ If you are developing for a target that doesn't have `std` support, Rust Analyze ```json { - "rust-analyzer.checkOnSave.allTargets": false + "rust-analyzer.check.allTargets": false } ```