Yeah, thinking more on it I'm not sure I want it anyhow. It's kind of
magical.
Probably just fixing the bug about warning about unused bindings is the
best thing.
Niko
On 7/24/12 6:56 PM, Tim Chevalier wrote:
On Tue, Jul 24, 2012 at 6:55 PM, Niko Matsakis <n...@alum.mit.edu> wrote:
Patrick, how hard would it be to allow something like:
import A::foo::*
to get all the variants of an enum into scope?
It used to be that import A::foo; *would* get all the variants of an
enum into scope, if foo was an enum. We got rid of this because
Patrick said it was too hard to implement in the context of resolve3.
Cheers,
Tim
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev