summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0462.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/error-codes/E0462.stderr13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/ui/error-codes/E0462.stderr b/tests/ui/error-codes/E0462.stderr
new file mode 100644
index 000000000..43e27965f
--- /dev/null
+++ b/tests/ui/error-codes/E0462.stderr
@@ -0,0 +1,13 @@
+error[E0462]: found staticlib `found_staticlib` instead of rlib or dylib
+ --> $DIR/E0462.rs:7:1
+ |
+LL | extern crate found_staticlib;
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ |
+ = note: the following crate versions were found:
+ crate `found_staticlib`: $TEST_BUILD_DIR/error-codes/E0462/auxiliary/libfound_staticlib.somelib
+ = help: please recompile that crate using --crate-type lib
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0462`.