summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/file-lines-item.rs
blob: 8d39eb60958919708726a231e843b557e26d217f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// 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?
        )
    }
}