After closing vscode and reopening the project Rust analyzer fails to locate a module
⚓ Rust 📅 2025-06-21 👤 surdeus 👁️ 18Hello,
Yesterday I worked on a project with this structure:
Rust analyzer worked. I shut down my IDE (vscode) and the terminal session and reopened both today. Now I get a tooltip message when hovering over the code within the vm/mod.rs file:
This file is not included anywhere in the module tree, so rust-analyzer can't offer IDE services.
But I do not understand what could be the issue in the structure of my project. It is as the Rust book instructs.
Does anyone have an idea?
// lib.rs
pub mod vm;
src/
-vm/
-- mod.rs
-lib.rs
-main.rs
7 posts - 3 participants
🏷️ rust_feed