summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/issue-4245.rs
blob: e3d40eb42674811d6083488ff3b286c860243646 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
fn a(
    a: & // Comment
    // Another comment
    'a File,
) {
}

fn b(b: & /* Another Comment */ 'a File) {}

fn c(c: &'a /*Comment */ mut /*Comment */ File) {}

fn d(
    c: & // Comment
    'b // Multi Line
    // Comment
    mut // Multi Line
    // Comment
    File,
) {
}

fn e(
    c: & // Comment
    File,
) {
}

fn d(
    c: & // Comment
    mut // Multi Line
    // Comment
    File,
) {
}