> Can someone clarify what's going on here?

You have multiple "mod file2" statements in the crate. This is probably not 
what you want.
If you have "mod X" in two files, X::Y in those two files DO NOT refer to the 
same thing,
but to two different things. Use "use" statements instead.
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to