summaryrefslogtreecommitdiffstats
path: root/src/test/ui/privacy/privacy4.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/privacy/privacy4.stderr15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/ui/privacy/privacy4.stderr b/src/test/ui/privacy/privacy4.stderr
new file mode 100644
index 000000000..7552fa71a
--- /dev/null
+++ b/src/test/ui/privacy/privacy4.stderr
@@ -0,0 +1,15 @@
+error[E0603]: module `glob` is private
+ --> $DIR/privacy4.rs:21:14
+ |
+LL | use bar::glob::gpriv;
+ | ^^^^ private module
+ |
+note: the module `glob` is defined here
+ --> $DIR/privacy4.rs:13:5
+ |
+LL | mod glob {
+ | ^^^^^^^^
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0603`.