summaryrefslogtreecommitdiffstats
path: root/src/test/ui/resolve/visibility-indeterminate.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/resolve/visibility-indeterminate.stderr')
-rw-r--r--src/test/ui/resolve/visibility-indeterminate.stderr15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/ui/resolve/visibility-indeterminate.stderr b/src/test/ui/resolve/visibility-indeterminate.stderr
new file mode 100644
index 000000000..84d82ce85
--- /dev/null
+++ b/src/test/ui/resolve/visibility-indeterminate.stderr
@@ -0,0 +1,15 @@
+error[E0578]: cannot determine resolution for the visibility
+ --> $DIR/visibility-indeterminate.rs:5:8
+ |
+LL | pub(in ::bar) struct Baz {}
+ | ^^^^^
+
+error: cannot find macro `foo` in this scope
+ --> $DIR/visibility-indeterminate.rs:3:1
+ |
+LL | foo!();
+ | ^^^
+
+error: aborting due to 2 previous errors
+
+For more information about this error, try `rustc --explain E0578`.