Skip to content

Commit 81e9571

Browse files
committed
Use correct invocation strategy config for checkOnSave
1 parent c104f0e commit 81e9571

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/rust-analyzer/src/config.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1069,7 +1069,7 @@ impl Config {
10691069
if !self.data.checkOnSave_enable {
10701070
return None;
10711071
}
1072-
let invocation_strategy = match self.data.cargo_buildScripts_invocationStrategy {
1072+
let invocation_strategy = match self.data.checkOnSave_invocationStrategy {
10731073
InvocationStrategy::OnceInRoot => flycheck::InvocationStrategy::OnceInRoot,
10741074
InvocationStrategy::PerWorkspaceWithManifestPath => {
10751075
flycheck::InvocationStrategy::PerWorkspaceWithManifestPath

0 commit comments

Comments
 (0)