Skip to content

Commit 4d2a26d

Browse files
committed
moved renamed docs formatted | item-name-overload.rs
1 parent 44031dc commit 4d2a26d

File tree

2 files changed

+15
-16
lines changed

2 files changed

+15
-16
lines changed

tests/ui/item-name-overload.rs

Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
//! Test that items with identical names can coexist in different modules
2+
3+
//@ run-pass
4+
5+
#![allow(dead_code)]
6+
7+
mod foo {
8+
pub fn baz() {}
9+
}
10+
11+
mod bar {
12+
pub fn baz() {}
13+
}
14+
15+
pub fn main() {}

0 commit comments

Comments
 (0)