]> git.lizzy.rs Git - rust.git/blob - tests/source/fn-custom-4.rs
Support where clauses on the same line as the function decl where it all fits on...
[rust.git] / tests / source / fn-custom-4.rs
1 // rustfmt-where_pred_indent: Tabbed
2 // rustfmt-where_density: Compressed
3 // Test different indents.
4
5 fn qux() where X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT, X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT, X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT, X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT {
6     baz();
7 }
8
9 fn qux() where X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT {
10     baz();
11 }
12
13 fn qux(a: Aaaaaaaaaaaaaaaaa) where X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT, X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT {
14     baz();
15 }