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