summaryrefslogtreecommitdiffstats
path: root/src/test/ui/reachable/unreachable-variant.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/reachable/unreachable-variant.stderr')
-rw-r--r--src/test/ui/reachable/unreachable-variant.stderr15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/ui/reachable/unreachable-variant.stderr b/src/test/ui/reachable/unreachable-variant.stderr
new file mode 100644
index 000000000..6c27a2756
--- /dev/null
+++ b/src/test/ui/reachable/unreachable-variant.stderr
@@ -0,0 +1,15 @@
+error[E0603]: module `super_sekrit` is private
+ --> $DIR/unreachable-variant.rs:6:21
+ |
+LL | let _x = other::super_sekrit::sooper_sekrit::baz;
+ | ^^^^^^^^^^^^ private module
+ |
+note: the module `super_sekrit` is defined here
+ --> $DIR/auxiliary/unreachable_variant.rs:1:1
+ |
+LL | mod super_sekrit {
+ | ^^^^^^^^^^^^^^^^
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0603`.