summaryrefslogtreecommitdiffstats
path: root/src/test/ui/crate-loading/missing-std.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/crate-loading/missing-std.stderr')
-rw-r--r--src/test/ui/crate-loading/missing-std.stderr15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/ui/crate-loading/missing-std.stderr b/src/test/ui/crate-loading/missing-std.stderr
new file mode 100644
index 000000000..70bcae1e0
--- /dev/null
+++ b/src/test/ui/crate-loading/missing-std.stderr
@@ -0,0 +1,15 @@
+error[E0463]: can't find crate for `core`
+ --> $DIR/missing-std.rs:6:1
+ |
+LL | extern crate core;
+ | ^^^^^^^^^^^^^^^^^^ can't find crate
+ |
+ = note: the `x86_64-unknown-uefi` target may not be installed
+ = help: consider downloading the target with `rustup target add x86_64-unknown-uefi`
+ = help: consider building the standard library from source with `cargo build -Zbuild-std`
+
+error: requires `sized` lang_item
+
+error: aborting due to 2 previous errors
+
+For more information about this error, try `rustc --explain E0463`.