resolve: Scale back hard-coded extern prelude additions

This commit is contained in:
Vadim Petrochenkov 2018-10-13 21:24:50 +03:00
parent 522948827b
commit 894a8d574d
2 changed files with 10 additions and 8 deletions

View file

@ -2,7 +2,7 @@ error[E0432]: unresolved import `alloc`
--> $DIR/issue-54006.rs:16:5
|
LL | use alloc::vec;
| ^^^^^ Did you mean `std::alloc`?
| ^^^^^ Did you mean `core::alloc`?
error: cannot determine resolution for the macro `vec`
--> $DIR/issue-54006.rs:20:18