<!-- Troubleshooting guide: https://rust-analyzer.github.io/manual.html#troubleshooting Forum for questions: https://users.rust-lang.org/c/ide/14 Before submitting, please make sure that you're not running into one of these known issues: 1. extension doesn't load in VSCodium: #11080 2. on-the-fly diagnostics are mostly unimplemented (`cargo check` diagnostics will be shown when saving a file): #3107 Otherwise please try to provide information which will help us to fix the issue faster. Minimal reproducible examples with few dependencies are especially lovely <3. --> **rust-analyzer version**: 0.0.0 (d022e0ec5 2022-10-27) [compiled from master] **rustc version**: 1.64.0 (a55dd71d5 2022-09-19) **relevant settings**: Running on WSL Code: ```rust mod foo { pub struct Test; // <- Rename to Testing } use foo::Test as Tester; fn main() { let t = Tester; } ``` Result: ```rust mod foo { pub struct Testing; } use foo::Testing as Tester; fn main() { let t = Testing; // <- Was also renamed } ```