On Tue, Nov 18, 2014 at 12:23 PM, Daniel Trstenjak < [email protected]> wrote:
> > Hi Steven, > > On Tue, Nov 18, 2014 at 07:41:38PM +0000, Steven Fackler wrote: > > The syntax is ambiguous: > > > > let foo = (HashMap<Foo, Bar>new()); > > You mean 'let foo = (HashMap<Foo, Bar>::new());' , right? > > Is '::new()' a valid expression for accessing some kind of global > or super namespace? Correct <http://is.gd/6T0U3R>; the `::` prefix resolves from the crate root; unprefixed resolves from the module root.
_______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
