Resolving things in a multi-module setup

⚓ rust    📅 2025-05-22    👤 surdeus    👁️ 5      

surdeus

Warning

This post was published 39 days ago. The information described in this article may have changed.

I have read all the documentation on multi-module setups. My application is not a library but a bin application. I consistently have a problem with things not resolving whenever I add new code and/or new rust files. Everything is defined in main.rs which should be the root. I know that this subject comes up often and I feel it is detriment to a language that I like. Can someone PLEASE direct me to some coherent documentation on the proper way to do things. I have read the book until I am bleary eyed and as far as I can tell I am doing the right thing. Also I use IntelliJ which has its own problems with Rust. I frequently have to reboot and resolution problems disappear. I'm considering cancelling IntelliJ for that reason. I opened VScode and it complains some things are not resolved while IntelliJ has shows no error.

2 posts - 2 participants

Read full topic

🏷️ rust_feed