We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e24091 commit 3d041bdCopy full SHA for 3d041bd
src/test/run-pass/issue-4865-2.rs
@@ -8,6 +8,12 @@
8
// option. This file may not be copied, modified, or distributed
9
// except according to those terms.
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
+
17
pub use hello::*;
18
19
pub mod say {
src/test/run-pass/issue-4865-3.rs
@@ -8,12 +8,15 @@
+// This should resolve fine even with the circular imports as
+// they are not `pub`.
pub mod a {
- use b::*;
+ use b::*;
}
pub mod b {
- use a::*;
+ use a::*;
20
21
22
use a::*;
0 commit comments