mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-13 07:24:00 +00:00
![Florian Diebold](/assets/img/avatar_default.png)
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;
|