2018-09-10 11:41:30 -05:00
|
|
|
error[E0432]: unresolved import `alloc`
|
2020-07-07 10:12:44 -05:00
|
|
|
--> $DIR/not-allowed.rs:5:5
|
2018-09-10 11:41:30 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | use alloc;
|
2020-09-30 17:52:13 -05:00
|
|
|
| ^^^^^ no external crate `alloc`
|
2022-10-09 22:14:32 -05:00
|
|
|
|
|
|
|
|
help: consider importing one of these items instead
|
|
|
|
|
|
|
|
|
LL | use core::alloc;
|
|
|
|
| ~~~~~~~~~~~~
|
|
|
|
LL | use std::alloc;
|
|
|
|
| ~~~~~~~~~~~
|
2018-09-10 11:41:30 -05:00
|
|
|
|
2019-06-20 03:52:31 -05:00
|
|
|
error: aborting due to previous error
|
2018-09-10 11:41:30 -05:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0432`.
|