rust/tests/target/issue-2673-nonmodrs-mods/lib.rs
Florian Diebold e65aa302d3 Turn the nonmodrs-mods test into a standard idempotence test
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.
2018-05-06 13:08:43 +02:00

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;