742: Extern crate r=matklad a=flodiebold

This implements `extern crate` declarations by lowering them to (absolute) imports, and adds support for absolute paths. It also extracts the extern prelude from the per-module item map, and handles the special case of extern crates in the crate root adding to the extern prelude.

This means we finally resolve `Arc`, so it fixes #523 😄 

Co-authored-by: Florian Diebold <flodiebold@gmail.com>
This commit is contained in:
bors[bot] 2019-02-05 07:53:08 +00:00
commit 4d4c46aff8
14 changed files with 190 additions and 48 deletions

View file

@ -127,6 +127,7 @@ rustc_tsan
syntax";
const STD_DEPS: &str = "
alloc
alloc_jemalloc
alloc_system
core