Closed
Description
With this feature extern crate foo as bar;
item placed into the crate root puts the name bar
into extern prelude. This has the next effects:
- The name is in scope in the whole crate, including inner modules, like other prelude names.
- On 2018 edition imports can refer to that name
use bar::zzz;
oruse ::bar::zzz;
, plus non-import absolute paths can refer to it as welllet z = ::bar::zzz;
.
More details are available on the implementation PR - #54658.