diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/imports/issue-26873-multifile/A/B.rs | 4 | ||||
-rw-r--r-- | src/test/ui/imports/issue-26873-multifile/A/C.rs | 6 | ||||
-rw-r--r-- | src/test/ui/imports/issue-26873-multifile/A/mod.rs | 5 |
3 files changed, 15 insertions, 0 deletions
diff --git a/src/test/ui/imports/issue-26873-multifile/A/B.rs b/src/test/ui/imports/issue-26873-multifile/A/B.rs new file mode 100644 index 000000000..ab7b0d816 --- /dev/null +++ b/src/test/ui/imports/issue-26873-multifile/A/B.rs @@ -0,0 +1,4 @@ +// run-pass +use super::*; + +pub struct S; diff --git a/src/test/ui/imports/issue-26873-multifile/A/C.rs b/src/test/ui/imports/issue-26873-multifile/A/C.rs new file mode 100644 index 000000000..b287283df --- /dev/null +++ b/src/test/ui/imports/issue-26873-multifile/A/C.rs @@ -0,0 +1,6 @@ +// run-pass +use super::*; + +use super::B::S; + +pub struct T { i: i32 } diff --git a/src/test/ui/imports/issue-26873-multifile/A/mod.rs b/src/test/ui/imports/issue-26873-multifile/A/mod.rs new file mode 100644 index 000000000..0f18772bf --- /dev/null +++ b/src/test/ui/imports/issue-26873-multifile/A/mod.rs @@ -0,0 +1,5 @@ +// run-pass +pub mod B; +pub mod C; + +pub use self::C::T; |