Closed SpaceManiac closed 7 years ago
This makes sense. cpp-synstructure uses a simple algorithm to try to discover submodules but sometimes doesn't handle directories correctly apparently.
It shouldn't be too hard to make it handle inferring inline modules better, I would think. I won't be able to work on it for a bit though.
Fixed by #24
Admittedly this is an odd case, but
rust-cpp
can't find a file thatrustc
can:No
foo/mod.rs
exists.rustc
findsfoo/bar.rs
and compiles it, butrust-cpp
claims "No file with module definition formod bar
".