Skip to content

Commit caab47d

Browse files
committed
Just tidying up
1 parent f76049c commit caab47d

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/test/run-pass/issue-52557.rs

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,17 @@ mod a {
2222

2323
mod b {
2424
#[test]
25-
fn foo() {}
25+
fn foo() {
26+
local_name(); // ensure the local name still works
27+
}
28+
29+
#[test]
30+
fn local_name() {}
2631
}
2732

2833
use a::*;
2934
use b::*;
3035

31-
fn conflict() {
36+
pub fn conflict() {
3237
let _: bool = foo();
33-
}
38+
}

0 commit comments

Comments
 (0)