2018-08-08 12:28:26 +00:00
|
|
|
error[E0603]: enum `Bar` is private
|
2018-10-27 17:21:34 +00:00
|
|
|
--> $DIR/struct-variant-privacy-xc.rs:14:33
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | fn f(b: struct_variant_privacy::Bar) { //~ ERROR enum `Bar` is private
|
2018-10-27 17:21:34 +00:00
|
|
|
| ^^^
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
error[E0603]: enum `Bar` is private
|
2018-10-27 17:21:34 +00:00
|
|
|
--> $DIR/struct-variant-privacy-xc.rs:16:33
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | struct_variant_privacy::Bar::Baz { a: _a } => {} //~ ERROR enum `Bar` is private
|
2018-10-27 17:21:34 +00:00
|
|
|
| ^^^
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0603`.
|