blob: 7f989c15f1c0588e9d0b3baa25aa502861412ed7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
error[E0432]: unresolved import `alloc`
--> $DIR/not-allowed.rs:5:5
|
LL | use alloc;
| ^^^^^ no external crate `alloc`
|
help: consider importing one of these items instead
|
LL | use core::alloc;
| ~~~~~~~~~~~
LL | use std::alloc;
| ~~~~~~~~~~
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0432`.
|