]> git.lizzy.rs Git - rust.git/blob - tests/ui/imports/issue-55884-2.stderr
Rollup merge of #106958 - jyn514:labels, r=m-ou-se
[rust.git] / tests / ui / imports / issue-55884-2.stderr
1 error[E0603]: struct import `ParseOptions` is private
2   --> $DIR/issue-55884-2.rs:12:17
3    |
4 LL | pub use parser::ParseOptions;
5    |                 ^^^^^^^^^^^^ private struct import
6    |
7 note: the struct import `ParseOptions` is defined here...
8   --> $DIR/issue-55884-2.rs:9:9
9    |
10 LL |     use ParseOptions;
11    |         ^^^^^^^^^^^^
12 note: ...and refers to the struct import `ParseOptions` which is defined here...
13   --> $DIR/issue-55884-2.rs:12:9
14    |
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
19    |
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
24    |
25 LL |     pub struct ParseOptions {}
26    |     ^^^^^^^^^^^^^^^^^^^^^^^ consider importing it directly
27
28 error: aborting due to previous error
29
30 For more information about this error, try `rustc --explain E0603`.