]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/fn-ty.rs
Add 'compiler/rustc_codegen_gcc/' from commit 'afae271d5d3719eeb92c18bc004bb6d1965a5f3f'
[rust.git] / src / tools / rustfmt / tests / target / fn-ty.rs
1 fn f(
2     xxxxxxxxxxxxxxxxxx: fn(a, b, b) -> a,
3     xxxxxxxxxxxxxxxxxx: fn() -> a,
4     xxxxxxxxxxxxxxxxxx: fn(a, b, b),
5     xxxxxxxxxxxxxxxxxx: fn(),
6     xxxxxxxxxxxxxxxxxx: fn(a, b, b) -> !,
7     xxxxxxxxxxxxxxxxxx: fn() -> !,
8 ) where
9     F1: Fn(a, b, b) -> a,
10     F2: Fn(a, b, b),
11     F3: Fn(),
12     F4: Fn() -> u32,
13 {
14 }