From 218caa410aa38c29984be31a5229b9fa717560ee Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:13 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- tests/ui/resolve/visibility-indeterminate.stderr | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tests/ui/resolve/visibility-indeterminate.stderr (limited to 'tests/ui/resolve/visibility-indeterminate.stderr') 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`. -- cgit v1.2.3