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