rust-analyzer / rust-analyzer.github.io

https://rust-analyzer.github.io/
85 stars 52 forks source link

Possible error in the documentation #198

Closed NomisIV closed 1 year ago

NomisIV commented 1 year ago

I'm trying to disable checking of all targets, and the documentation says the option should be rust-analyzer.check.allTargets, which didn't work. However rust-analyzer.checkOnSave.allTargets (as copied from other GitHub issues: https://github.com/rust-lang/rust-analyzer/issues/10716#issuecomment-962697981) does work. Is this an error with the generated documentation, or is it some kind of version mismatch between the documentation and the version of rust-analyzer that I'm using?

bjorn3 commented 1 year ago

Which version of rust-analyzer are you using? checkOnSave.allTargets was somewhat recently renamed to check.allTargets.

NomisIV commented 1 year ago

Ah that makes sense. I'm currently using rust-analyzer 2023-01-09.