rust/tests/ui/rfcs/rfc-2126-extern-absolute-paths/not-allowed.stderr

15 lines
338 B
Plaintext

error[E0432]: unresolved import `alloc`
--> $DIR/not-allowed.rs:5:5
|
LL | use alloc;
| ^^^^^ no external crate `alloc`
|
help: consider importing this module instead
|
LL | use std::alloc;
| ~~~~~~~~~~
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0432`.