e65aa302d3
We need to skip children on foo.rs, since the parser will not find bar from that file, but with that, the test works fine.
7 lines
181 B
Rust
7 lines
181 B
Rust
#![feature(non_modrs_mods)]
|
|
|
|
// Test that submodules in non-mod.rs files work. This is just an idempotence
|
|
// test since we just want to verify that rustfmt doesn't fail.
|
|
|
|
mod foo;
|