fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error[E0603]: enum `Foo` is private 2 --> $DIR/issue-11680.rs:6:21 3 | 4LL | let _b = other::Foo::Bar(1); 5 | ^^^ private enum 6 | 7note: the enum `Foo` is defined here 8 --> $DIR/auxiliary/issue-11680.rs:1:1 9 | 10LL | enum Foo { 11 | ^^^^^^^^ 12 13error[E0603]: enum `Foo` is private 14 --> $DIR/issue-11680.rs:9:27 15 | 16LL | let _b = other::test::Foo::Bar(1); 17 | ^^^ private enum 18 | 19note: the enum `Foo` is defined here 20 --> $DIR/auxiliary/issue-11680.rs:6:5 21 | 22LL | enum Foo { 23 | ^^^^^^^^ 24 25error: aborting due to 2 previous errors 26 27For more information about this error, try `rustc --explain E0603`.