On Wed, Sep 12, 2012 at 2:59 PM, Patrick Walton <[email protected]> wrote:
> "use mod" is already in use for importing a module. This will soon become
> necessary to import modules to fix some difficult semantic issues in name
> resolution.

Oops. Nonetheless, what do you think of having a combined `extern mod`
+ `use` form? For example:

```
// equivalent to `extern mod std; use std::json::Json;`
extern use std::json::Json;
```

That has almost the brevity of adding implicit extern lookup to `use`
while still keeping the behavior of the form explicit.

-Joe
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to