Closed
Description
The files with same name in different path may be overwrite .
This is the mini project to reproduce the bug.
In thiscase, src/system/pay.rs will be messed.
/////////////// main.rs
// Be careful the sequence of mod definition in the main.rs
mod system {
pub mod pay;
}
mod hf;
pub fn main() {}
//////////////end if main.rs
//////////////////// project layout
E:.
│ hf.rs
│ main.rs
│
├───hf
│ └───system
│ pay.rs
│
└───system
pay.rs