diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:02:58 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:02:58 +0000 |
commit | 698f8c2f01ea549d77d7dc3338a12e04c11057b9 (patch) | |
tree | 173a775858bd501c378080a10dca74132f05bc50 /src/test/ui/non_modrs_mods/modrs_mod | |
parent | Initial commit. (diff) | |
download | rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.tar.xz rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.zip |
Adding upstream version 1.64.0+dfsg1.upstream/1.64.0+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/ui/non_modrs_mods/modrs_mod')
7 files changed, 23 insertions, 0 deletions
diff --git a/src/test/ui/non_modrs_mods/modrs_mod/compiletest-ignore-dir b/src/test/ui/non_modrs_mods/modrs_mod/compiletest-ignore-dir new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/src/test/ui/non_modrs_mods/modrs_mod/compiletest-ignore-dir diff --git a/src/test/ui/non_modrs_mods/modrs_mod/inline/somename.rs b/src/test/ui/non_modrs_mods/modrs_mod/inline/somename.rs new file mode 100644 index 000000000..04585f918 --- /dev/null +++ b/src/test/ui/non_modrs_mods/modrs_mod/inline/somename.rs @@ -0,0 +1,3 @@ +// run-pass + +pub fn foo() {} diff --git a/src/test/ui/non_modrs_mods/modrs_mod/inner_foors_mod.rs b/src/test/ui/non_modrs_mods/modrs_mod/inner_foors_mod.rs new file mode 100644 index 000000000..4d8eb350b --- /dev/null +++ b/src/test/ui/non_modrs_mods/modrs_mod/inner_foors_mod.rs @@ -0,0 +1,3 @@ +// run-pass + +pub mod innest; diff --git a/src/test/ui/non_modrs_mods/modrs_mod/inner_foors_mod/innest.rs b/src/test/ui/non_modrs_mods/modrs_mod/inner_foors_mod/innest.rs new file mode 100644 index 000000000..04585f918 --- /dev/null +++ b/src/test/ui/non_modrs_mods/modrs_mod/inner_foors_mod/innest.rs @@ -0,0 +1,3 @@ +// run-pass + +pub fn foo() {} diff --git a/src/test/ui/non_modrs_mods/modrs_mod/inner_modrs_mod/innest.rs b/src/test/ui/non_modrs_mods/modrs_mod/inner_modrs_mod/innest.rs new file mode 100644 index 000000000..04585f918 --- /dev/null +++ b/src/test/ui/non_modrs_mods/modrs_mod/inner_modrs_mod/innest.rs @@ -0,0 +1,3 @@ +// run-pass + +pub fn foo() {} diff --git a/src/test/ui/non_modrs_mods/modrs_mod/inner_modrs_mod/mod.rs b/src/test/ui/non_modrs_mods/modrs_mod/inner_modrs_mod/mod.rs new file mode 100644 index 000000000..4d8eb350b --- /dev/null +++ b/src/test/ui/non_modrs_mods/modrs_mod/inner_modrs_mod/mod.rs @@ -0,0 +1,3 @@ +// run-pass + +pub mod innest; diff --git a/src/test/ui/non_modrs_mods/modrs_mod/mod.rs b/src/test/ui/non_modrs_mods/modrs_mod/mod.rs new file mode 100644 index 000000000..c8efa66d6 --- /dev/null +++ b/src/test/ui/non_modrs_mods/modrs_mod/mod.rs @@ -0,0 +1,8 @@ +// run-pass + +pub mod inner_modrs_mod; +pub mod inner_foors_mod; +pub mod inline { + #[path="somename.rs"] + pub mod innie; +} |