fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

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