We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ccdece commit 3722326Copy full SHA for 3722326
src/Makefile
@@ -445,6 +445,7 @@ TEST_XFAILS_RUSTC := $(filter-out \
445
import2.rs \
446
import3.rs \
447
import4.rs \
448
+ import5.rs \
449
item-name-overload.rs \
450
large-records.rs \
451
lazy-init.rs \
@@ -483,6 +484,7 @@ TEST_XFAILS_RUSTC := $(filter-out \
483
484
arg-type-mismatch.rs \
485
import.rs \
486
487
+ import3.rs \
488
while-type-error.rs \
489
), \
490
$(wildcard test/*/*.rs test/*/*.rc))
src/test/run-pass/import5.rs
@@ -0,0 +1,13 @@
1
+import foo.bar;
2
+mod foo {
3
+ import zed.bar;
4
+ mod zed {
5
+ fn bar() {
6
+ log "foo";
7
+ }
8
9
+}
10
+
11
+fn main(vec[str] args) {
12
+ bar();
13
0 commit comments