File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 8
8
// option. This file may not be copied, modified, or distributed
9
9
// except according to those terms.
10
10
11
+ // Previously, this would have failed to resolve due to the circular
12
+ // block between `use say` and `pub use hello::*`.
13
+ //
14
+ // Now, as `use say` is not `pub`, the glob import can resolve
15
+ // without any problem and this resolves fine.
16
+
11
17
pub use hello:: * ;
12
18
13
19
pub mod say {
Original file line number Diff line number Diff line change 8
8
// option. This file may not be copied, modified, or distributed
9
9
// except according to those terms.
10
10
11
+ // This should resolve fine even with the circular imports as
12
+ // they are not `pub`.
13
+
11
14
pub mod a {
12
- use b:: * ;
15
+ use b:: * ;
13
16
}
14
17
15
18
pub mod b {
16
- use a:: * ;
19
+ use a:: * ;
17
20
}
18
21
19
22
use a:: * ;
You can’t perform that action at this time.
0 commit comments