For example, you open git repo rustlings. Then in the rustings/src directory, rust-analyzer works well. But in rustlings/exercises/some_topic/some_rust_file, rust-analyzer does not work except that it gives syntax error message if you have. I also test official rust extension independently, rls works in rustlings/exercises/some_topic/some_rust_file.
Note: When using rust-analyzer, I have disabled official rust extension.