I have a situation where in one project (using VSCode) I have 3 files; a(has main()), b, and c.
In access file b from file a using:
mod b;
use b::B;
In file b, I access file c by using:
use crate::c::C;
and all is well, but in another project, I do the same thing and get the error within file b:
1 | use crate::c::C;
| ^^^^^^^^^^ maybe a missing crate `c`?
What's going on here?
(When I place all the code from file c in file b the app works)