fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
892 B31 linesraw
1error[E0603]: enum `Foo` is private
2  --> $DIR/issue-11680.rs:6:21
3   |
4LL |     let _b = other::Foo::Bar(1);
5   |                     ^^^  --- tuple variant `Bar` is not publicly re-exported
6   |                     |
7   |                     private enum
8   |
9note: the enum `Foo` is defined here
10  --> $DIR/auxiliary/issue-11680.rs:1:1
11   |
12LL | enum Foo {
13   | ^^^^^^^^
14
15error[E0603]: enum `Foo` is private
16  --> $DIR/issue-11680.rs:9:27
17   |
18LL |     let _b = other::test::Foo::Bar(1);
19   |                           ^^^  --- tuple variant `Bar` is not publicly re-exported
20   |                           |
21   |                           private enum
22   |
23note: the enum `Foo` is defined here
24  --> $DIR/auxiliary/issue-11680.rs:6:5
25   |
26LL |     enum Foo {
27   |     ^^^^^^^^
28
29error: aborting due to 2 previous errors
30
31For more information about this error, try `rustc --explain E0603`.