summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/fn-ty.rs
blob: 7d48f3b32dbc14680332c4fc57919ade07ecacda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
fn f(
    xxxxxxxxxxxxxxxxxx: fn(a, b, b) -> a,
    xxxxxxxxxxxxxxxxxx: fn() -> a,
    xxxxxxxxxxxxxxxxxx: fn(a, b, b),
    xxxxxxxxxxxxxxxxxx: fn(),
    xxxxxxxxxxxxxxxxxx: fn(a, b, b) -> !,
    xxxxxxxxxxxxxxxxxx: fn() -> !,
) where
    F1: Fn(a, b, b) -> a,
    F2: Fn(a, b, b),
    F3: Fn(),
    F4: Fn() -> u32,
{
}