]> git.lizzy.rs Git - rust.git/blob - tests/ui/rfc-2126-extern-absolute-paths/not-allowed.stderr
Rollup merge of #106971 - oli-obk:tait_error, r=davidtwco
[rust.git] / tests / ui / rfc-2126-extern-absolute-paths / not-allowed.stderr
1 error[E0432]: unresolved import `alloc`
2   --> $DIR/not-allowed.rs:5:5
3    |
4 LL | use alloc;
5    |     ^^^^^ no external crate `alloc`
6    |
7 help: consider importing one of these items instead
8    |
9 LL | use core::alloc;
10    |     ~~~~~~~~~~~
11 LL | use std::alloc;
12    |     ~~~~~~~~~~
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0432`.