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