mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 19:53:46 +00:00
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();
|
|
}
|