Re: [rust-dev] Linking to nested modules

2013-08-13 Thread Joshua Warner
Filed under https://github.com/mozilla/rust/issues/8505. I'd be interested in taking a crack at fixing this myself (provided it's not going to be a huge fix). Any pointers in where to look? Thanks, Joshua On 13 August 2013 22:38, Joshua Warner wrote: > The error is certainly nasty and should

Re: [rust-dev] Linking to nested modules

2013-08-13 Thread Joshua Warner
> > The error is certainly nasty and shouldn't happen like that, but yes, > there was something wrong with what you did: the module columbus isn't > public. Change `mod columbus` to `pub mod columbus` and it'll work. > Thanks. That worked perfectly. It sounds like the bug is that this ended up b

Re: [rust-dev] Linking to nested modules

2013-08-13 Thread Chris Morgan
The error is certainly nasty and shouldn't happen like that, but yes, there was something wrong with what you did: the module columbus isn't public. Change `mod columbus` to `pub mod columbus` and it'll work. On Wed, Aug 14, 2013 at 1:50 PM, Joshua Warner wrote: > Hi, > > I'm seeing some strange

Re: [rust-dev] Linking to nested modules

2013-08-13 Thread Patrick Walton
On 8/14/13 3:50 PM, Joshua Warner wrote: Hi, I'm seeing some strange behavior when modifying the "hello world" crates example in the 0.7 tutorial (http://static.rust-lang.org/doc/0.7/tutorial.html#modules-and-crates). It works fine as is, but when I modify it such that the "explore" function i

[rust-dev] Linking to nested modules

2013-08-13 Thread Joshua Warner
Hi, I'm seeing some strange behavior when modifying the "hello world" crates example in the 0.7 tutorial ( http://static.rust-lang.org/doc/0.7/tutorial.html#modules-and-crates). It works fine as is, but when I modify it such that the "explore" function is inside a nested module, it compiles fine