rust/src/test/ui/structs/struct-variant-privacy-xc.stderr

16 lines
538 B
Plaintext
Raw Normal View History

2018-08-08 12:28:26 +00:00
error[E0603]: enum `Bar` is private
--> $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-08-08 12:28:26 +00:00
error[E0603]: enum `Bar` is private
--> $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-08-08 12:28:26 +00:00
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0603`.