summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-11680.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/issues/issue-11680.stderr')
-rw-r--r--tests/ui/issues/issue-11680.stderr8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/ui/issues/issue-11680.stderr b/tests/ui/issues/issue-11680.stderr
index ea224af8e..5bcf93de8 100644
--- a/tests/ui/issues/issue-11680.stderr
+++ b/tests/ui/issues/issue-11680.stderr
@@ -2,7 +2,9 @@ error[E0603]: enum `Foo` is private
--> $DIR/issue-11680.rs:6:21
|
LL | let _b = other::Foo::Bar(1);
- | ^^^ private enum
+ | ^^^ --- tuple variant `Bar` is not publicly re-exported
+ | |
+ | private enum
|
note: the enum `Foo` is defined here
--> $DIR/auxiliary/issue-11680.rs:1:1
@@ -14,7 +16,9 @@ error[E0603]: enum `Foo` is private
--> $DIR/issue-11680.rs:9:27
|
LL | let _b = other::test::Foo::Bar(1);
- | ^^^ private enum
+ | ^^^ --- tuple variant `Bar` is not publicly re-exported
+ | |
+ | private enum
|
note: the enum `Foo` is defined here
--> $DIR/auxiliary/issue-11680.rs:6:5