Hey all,
We don’t normally post development announcements to the users’ forum, but this is one that we’d like your feedback on.
In short, Rust 2018 is going to be simplifying the module system. However, we’ve been testing out two possible variants of it:
- Anchored paths, where
use
statements always start with either an external crate name or a keyword. Importing from submodules requires a leadingself::
- Uniform paths, where
use
statements can also begin with a local item name, and hence work just like paths elsewhere
A fuller explanation is in the edition guide, and you can try out either on your own code to see how it feels.
@aturon has proposed that we go with anchored paths. However, we’d like people to weigh in before the decision is final.
Full link here: https://github.com/rust-lang/rust/issues/53130#issuecomment-418824862
As always, happy to answer questions here.