about summary refs log tree commit diff
path: root/src/tools/rustfmt/tests/target/raw-lifetimes.rs
blob: 62fb9be6882c5fa34c89a985a80f94af07d0857f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// rustfmt-edition: 2021

// Simple idempotence test for raw lifetimes.

fn test<'r#gen>() -> &'r#gen () {
    // Test raw lifetimes...
}

fn label() {
    'r#label: {
        // Test raw labels.
    }
}

fn main() {}