diff options
| author | Trevor Gross <tmgross@umich.edu> | 2025-07-01 06:59:49 +0000 |
|---|---|---|
| committer | Kivooeo <Kivooeo123@gmail.com> | 2025-07-01 16:26:56 +0500 |
| commit | 3b57db4d87ea589ec05e2c7543fb6ad2df41795f (patch) | |
| tree | d48c0ffe9e45a1c09922d3a59382363afb8667ea /tests/ui/modules | |
| parent | f46ce66fcc3d6058f90ac5bf0930f940f1e7b0ca (diff) | |
| download | rust-3b57db4d87ea589ec05e2c7543fb6ad2df41795f.tar.gz rust-3b57db4d87ea589ec05e2c7543fb6ad2df41795f.zip | |
Give some UI tests more apropriate names
Prepare for rework done by the rest of RUST-142440. Co-authored-by: Kivooeo <Kivooeo123@gmail.com>
Diffstat (limited to 'tests/ui/modules')
| -rw-r--r-- | tests/ui/modules/mod-same-item-names.rs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/ui/modules/mod-same-item-names.rs b/tests/ui/modules/mod-same-item-names.rs new file mode 100644 index 00000000000..dd2925aa53f --- /dev/null +++ b/tests/ui/modules/mod-same-item-names.rs @@ -0,0 +1,16 @@ +//@ run-pass + +#![allow(dead_code)] + + + + +mod foo { + pub fn baz() { } +} + +mod bar { + pub fn baz() { } +} + +pub fn main() { } |
