17 lines
177 B
Rust
17 lines
177 B
Rust
|
// 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();
|
||
|
}
|