summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfc-2126-extern-absolute-paths/not-allowed.stderr
blob: 122e8fd350cb2f4ef15abc373500f807536b0488 (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 previous error

For more information about this error, try `rustc --explain E0432`.