summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/source/file-lines-item.rs
blob: fe52a7fa17618840308e2ec912d3426bc650bf04 (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?
        )
    }
}