summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/source/file-lines-5.rs
blob: 8ec2c67bc4446cbd5b86a668ccaa372ba7fce040 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// rustfmt-file_lines: [{"file":"tests/source/file-lines-5.rs","range":[3,5]}]

struct A {
t: i64,     
}

mod foo {
    fn bar() {
                         // test
                             let i = 12;
                                 // test
    }
    // aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    fn baz() {
        let j = 15;     
    }
}