1 error[E0603]: struct import `ParseOptions` is private
2 --> $DIR/issue-55884-2.rs:12:17
4 LL | pub use parser::ParseOptions;
5 | ^^^^^^^^^^^^ private struct import
7 note: the struct import `ParseOptions` is defined here...
8 --> $DIR/issue-55884-2.rs:9:9
10 LL | use ParseOptions;
12 note: ...and refers to the struct import `ParseOptions` which is defined here...
13 --> $DIR/issue-55884-2.rs:12:9
15 LL | pub use parser::ParseOptions;
16 | ^^^^^^^^^^^^^^^^^^^^ consider importing it directly
17 note: ...and refers to the struct import `ParseOptions` which is defined here...
18 --> $DIR/issue-55884-2.rs:6:13
20 LL | pub use options::*;
21 | ^^^^^^^^^^ consider importing it directly
22 note: ...and refers to the struct `ParseOptions` which is defined here
23 --> $DIR/issue-55884-2.rs:2:5
25 LL | pub struct ParseOptions {}
26 | ^^^^^^^^^^^^^^^^^^^^^^^ consider importing it directly
28 error: aborting due to previous error
30 For more information about this error, try `rustc --explain E0603`.