]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue-2673-nonmodrs-mods/lib.rs
Merge commit '39683d8eb7a32a74bea96ecbf1e87675d3338506' into sync_cg_gcc-2022-03-26
[rust.git] / src / tools / rustfmt / tests / target / issue-2673-nonmodrs-mods / lib.rs
1 #![feature(non_modrs_mods)]
2
3 // Test that submodules in non-mod.rs files work. This is just an idempotence
4 // test since we just want to verify that rustfmt doesn't fail.
5
6 mod foo;