fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error[E0603]: enum `Bar` is private 2 --> $DIR/struct-variant-privacy-xc.rs:4:33 3 | 4LL | fn f(b: struct_variant_privacy::Bar) { 5 | ^^^ 6 7error[E0603]: enum `Bar` is private 8 --> $DIR/struct-variant-privacy-xc.rs:6:33 9 | 10LL | struct_variant_privacy::Bar::Baz { a: _a } => {} 11 | ^^^ 12 13error: aborting due to 2 previous errors 14 15For more information about this error, try `rustc --explain E0603`.