2020-01-12 07:20:57 -06:00
|
|
|
error[E0603]: struct import `ParseOptions` is private
|
2018-11-17 11:34:25 -06:00
|
|
|
--> $DIR/issue-55884-2.rs:12:17
|
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | pub use parser::ParseOptions;
|
2020-03-22 17:36:54 -05:00
|
|
|
| ^^^^^^^^^^^^ private struct import
|
2020-01-12 07:04:03 -06:00
|
|
|
|
|
2020-03-07 12:18:29 -06:00
|
|
|
note: the struct import `ParseOptions` is defined here...
|
2020-01-12 07:04:03 -06:00
|
|
|
--> $DIR/issue-55884-2.rs:9:9
|
|
|
|
|
|
|
|
|
LL | use ParseOptions;
|
|
|
|
| ^^^^^^^^^^^^
|
2020-03-07 12:18:29 -06:00
|
|
|
note: ...and refers to the struct import `ParseOptions` which is defined here...
|
|
|
|
--> $DIR/issue-55884-2.rs:12:9
|
|
|
|
|
|
|
|
|
LL | pub use parser::ParseOptions;
|
2020-03-11 13:17:23 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^ consider importing it directly
|
2020-03-07 12:18:29 -06:00
|
|
|
note: ...and refers to the struct import `ParseOptions` which is defined here...
|
|
|
|
--> $DIR/issue-55884-2.rs:6:13
|
|
|
|
|
|
|
|
|
LL | pub use options::*;
|
2020-03-11 13:17:23 -05:00
|
|
|
| ^^^^^^^^^^ consider importing it directly
|
2020-03-07 12:18:29 -06:00
|
|
|
note: ...and refers to the struct `ParseOptions` which is defined here
|
|
|
|
--> $DIR/issue-55884-2.rs:2:5
|
|
|
|
|
|
|
|
|
LL | pub struct ParseOptions {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^ consider importing it directly
|
2018-11-17 11:34:25 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0603`.
|