#3582 fetch appropriate value of OUT_DIR from cargo check . This enables rust-analyzer to work correctly with crates which use compile-time code generation. This might significantly slow-down startup time (as we need to run cargo check build), so this functionality is disabled by default. To enable, set:

1 "rust-analyzer.cargoFeatures.loadOutDirsFromCheck" : true