thread 'main' panicked at 'No file with module definition for `mod tests` in file "src/mymod.rs"', xtr/src/crate_visitor.rs:130:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Note that folding src/mymod/tests.rs into src/mymod.rs works around the problem.
I haven't really looked into the xtr code, but I'm not against trying to fix this myself if the problem is simple enough or I can get some code pointers. :-) Thanks.
Given the following project:
cargo build
handles this fine, but when running xtr:Then the output I get is:
Note that folding
src/mymod/tests.rs
intosrc/mymod.rs
works around the problem.I haven't really looked into the
xtr
code, but I'm not against trying to fix this myself if the problem is simple enough or I can get some code pointers. :-) Thanks.