1 error[E0603]: enum `Bar` is private
2 --> $DIR/struct-variant-privacy-xc.rs:4:33
4 LL | fn f(b: struct_variant_privacy::Bar) {
7 note: the enum `Bar` is defined here
8 --> $DIR/auxiliary/struct_variant_privacy.rs:1:1
13 error[E0603]: enum `Bar` is private
14 --> $DIR/struct-variant-privacy-xc.rs:7:33
16 LL | struct_variant_privacy::Bar::Baz { a: _a } => {}
19 note: the enum `Bar` is defined here
20 --> $DIR/auxiliary/struct_variant_privacy.rs:1:1
25 error: aborting due to 2 previous errors
27 For more information about this error, try `rustc --explain E0603`.