rust/tests/ui/rfcs/rfc-2126-extern-absolute-paths/not-allowed.stderr
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00

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`.