mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
22 lines
296 B
Rust
22 lines
296 B
Rust
// rustfmt-file_lines: [{"file":"tests/source/file-lines-item.rs","range":[6,8]}]
|
|
|
|
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?
|
|
)
|
|
}
|
|
}
|