Add a test for #3427
This commit is contained in:
parent
ce5cccc32c
commit
9d281b44c3
4 changed files with 10 additions and 0 deletions
2
tests/source/path_clarity/foo.rs
Normal file
2
tests/source/path_clarity/foo.rs
Normal file
|
@ -0,0 +1,2 @@
|
|||
// rustfmt-edition: 2018
|
||||
mod bar;
|
3
tests/source/path_clarity/foo/bar.rs
Normal file
3
tests/source/path_clarity/foo/bar.rs
Normal file
|
@ -0,0 +1,3 @@
|
|||
pub fn fn_in_bar( ) {
|
||||
println!( "foo/bar.rs" );
|
||||
}
|
2
tests/target/path_clarity/foo.rs
Normal file
2
tests/target/path_clarity/foo.rs
Normal file
|
@ -0,0 +1,2 @@
|
|||
// rustfmt-edition: 2018
|
||||
mod bar;
|
3
tests/target/path_clarity/foo/bar.rs
Normal file
3
tests/target/path_clarity/foo/bar.rs
Normal file
|
@ -0,0 +1,3 @@
|
|||
pub fn fn_in_bar() {
|
||||
println!("foo/bar.rs");
|
||||
}
|
Loading…
Reference in a new issue