2020-01-12 21:20:57 +08:00
|
|
|
error[E0603]: struct import `ParseOptions` is private
|
2023-05-09 07:15:46 +08:00
|
|
|
--> $DIR/issue-55884-2.rs:13:17
|
2018-11-18 01:34:25 +08:00
|
|
|
|
|
2019-03-09 20:03:44 +08:00
|
|
|
LL | pub use parser::ParseOptions;
|
2020-03-23 06:36:54 +08:00
|
|
|
| ^^^^^^^^^^^^ private struct import
|
2020-01-12 21:04:03 +08:00
|
|
|
|
|
2020-03-08 02:18:29 +08:00
|
|
|
note: the struct import `ParseOptions` is defined here...
|
2023-05-09 07:15:46 +08:00
|
|
|
--> $DIR/issue-55884-2.rs:10:9
|
2020-01-12 21:04:03 +08:00
|
|
|
|
|
|
|
|
LL | use ParseOptions;
|
|
|
|
| ^^^^^^^^^^^^
|
2020-03-08 02:18:29 +08:00
|
|
|
note: ...and refers to the struct import `ParseOptions` which is defined here...
|
2023-05-09 07:15:46 +08:00
|
|
|
--> $DIR/issue-55884-2.rs:13:9
|
2020-03-08 02:18:29 +08:00
|
|
|
|
|
|
|
|
LL | pub use parser::ParseOptions;
|
2023-11-20 01:46:44 +08:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^ you could import this re-export
|
2020-03-08 02:18:29 +08:00
|
|
|
note: ...and refers to the struct import `ParseOptions` which is defined here...
|
|
|
|
--> $DIR/issue-55884-2.rs:6:13
|
|
|
|
|
|
|
|
|
LL | pub use options::*;
|
2023-11-20 01:46:44 +08:00
|
|
|
| ^^^^^^^^^^ you could import this re-export
|
2020-03-08 02:18:29 +08:00
|
|
|
note: ...and refers to the struct `ParseOptions` which is defined here
|
|
|
|
--> $DIR/issue-55884-2.rs:2:5
|
|
|
|
|
|
|
|
|
LL | pub struct ParseOptions {}
|
2023-11-20 01:46:44 +08:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^ you could import this directly
|
|
|
|
help: import `ParseOptions` through the re-export
|
|
|
|
|
|
|
|
|
LL | pub use parser::ParseOptions;
|
|
|
|
| ~~~~~~~~~~~~~~~~~~~~
|
2018-11-18 01:34:25 +08:00
|
|
|
|
2023-11-21 23:44:16 +08:00
|
|
|
error: aborting due to 1 previous error
|
2018-11-18 01:34:25 +08:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0603`.
|