diff options
Diffstat (limited to 'tests/ui/resolve/visibility-indeterminate.stderr')
-rw-r--r-- | tests/ui/resolve/visibility-indeterminate.stderr | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/ui/resolve/visibility-indeterminate.stderr b/tests/ui/resolve/visibility-indeterminate.stderr new file mode 100644 index 000000000..84d82ce85 --- /dev/null +++ b/tests/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`. |