> I always figured that "import foo::bar" or "from foo import bar" would
> import both the "bar" item and the "bar" module if both exist. I don't see
> much harm in that off the top of my head.

The problem is that this breaks the proposed separate namespace for
modules. If we don't know what bar is, we can't look it up.
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to