rust/tests/source/issue-3750.rs

17 lines
177 B
Rust
Raw Normal View History

2019-08-27 02:23:55 +00:00
// rustfmt-merge_imports: true
pub mod foo {
pub mod bar {
pub struct Bar;
}
pub fn bar() {}
}
use foo::bar;
use foo::bar::Bar;
fn main() {
bar();
}