summaryrefslogtreecommitdiffstats
path: root/src/test/ui/rfc-2126-extern-absolute-paths
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/rfc-2126-extern-absolute-paths')
-rw-r--r--src/test/ui/rfc-2126-extern-absolute-paths/not-allowed.stderr7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/ui/rfc-2126-extern-absolute-paths/not-allowed.stderr b/src/test/ui/rfc-2126-extern-absolute-paths/not-allowed.stderr
index a66330ccc..761089cd3 100644
--- a/src/test/ui/rfc-2126-extern-absolute-paths/not-allowed.stderr
+++ b/src/test/ui/rfc-2126-extern-absolute-paths/not-allowed.stderr
@@ -3,6 +3,13 @@ error[E0432]: unresolved import `alloc`
|
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