On 04/10/2012 08:28 PM, Niko Matsakis wrote:
the reason is that there is no need for the `mod test` directive in test.rc. This effectively creates loads the `test.rs` file twice, once in the root namespace and once as the module `test`.
There's a bug open[1] to change this behavior since it's a frequent source of confusion.
[1] https://github.com/mozilla/rust/issues/1277 _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
