mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-14 17:48:10 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
17 lines
388 B
Plaintext
17 lines
388 B
Plaintext
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`.
|