1 error[E0603]: enum `Foo` is private
2 --> $DIR/issue-11680.rs:16:14
4 LL | let _b = other::Foo::Bar(1);
7 error[E0603]: enum `Foo` is private
8 --> $DIR/issue-11680.rs:19:14
10 LL | let _b = other::test::Foo::Bar(1);
11 | ^^^^^^^^^^^^^^^^^^^^^
13 error: aborting due to 2 previous errors
15 For more information about this error, try `rustc --explain E0603`.