summaryrefslogtreecommitdiffstats
path: root/src/test/ui/resolve/resolve-conflict-extern-crate-vs-extern-crate.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/resolve/resolve-conflict-extern-crate-vs-extern-crate.stderr')
-rw-r--r--src/test/ui/resolve/resolve-conflict-extern-crate-vs-extern-crate.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/ui/resolve/resolve-conflict-extern-crate-vs-extern-crate.stderr b/src/test/ui/resolve/resolve-conflict-extern-crate-vs-extern-crate.stderr
new file mode 100644
index 000000000..ea6cb9eb0
--- /dev/null
+++ b/src/test/ui/resolve/resolve-conflict-extern-crate-vs-extern-crate.stderr
@@ -0,0 +1,11 @@
+error[E0259]: the name `std` is defined multiple times
+ |
+ = note: `std` must be defined only once in the type namespace of this module
+help: you can use `as` to change the binding name of the import
+ |
+LL | extern crate std as other_std;
+ |
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0259`.