mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 19:53:46 +00:00
23 lines
329 B
Rust
23 lines
329 B
Rust
// rustfmt-file_lines: [{"file":"tests/source/file-lines-item.rs","range":[7,9]}]
|
|
// rustfmt-reorder_imports: true
|
|
|
|
use foo::{c, b, a};
|
|
use bar;
|
|
|
|
fn foo() {
|
|
bar ( ) ;
|
|
}
|
|
|
|
impl Drop for Context {
|
|
fn drop(&mut self) {
|
|
}
|
|
}
|
|
|
|
impl Bar for Baz {
|
|
fn foo() {
|
|
bar(
|
|
baz, // Who knows?
|
|
)
|
|
}
|
|
}
|