2017-03-19 22:59:08 +00:00
|
|
|
// rustfmt-fn_args_layout: Block
|
2017-03-19 22:42:20 +00:00
|
|
|
// rustfmt-generics_indent: Block
|
2015-09-01 06:53:16 +00:00
|
|
|
// rustfmt-where_layout: HorizontalVertical
|
2015-09-01 06:20:17 +00:00
|
|
|
// Test different indents.
|
|
|
|
|
|
|
|
fn foo(a: Aaaaaaaaaaaaaaa, b: Bbbbbbbbbbbbbbbb, c: Ccccccccccccccccc, d: Ddddddddddddddddddddddddd, e: Eeeeeeeeeeeeeeeeeee) {
|
|
|
|
foo();
|
|
|
|
}
|
|
|
|
|
|
|
|
fn bar<'a: 'bbbbbbbbbbbbbbbbbbbbbbbbbbb, TTTTTTTTTTTTT, UUUUUUUUUUUUUUUUUUUU: WWWWWWWWWWWWWWWWWWWWWWWW>(a: Aaaaaaaaaaaaaaa) {
|
|
|
|
bar();
|
|
|
|
}
|
|
|
|
|
2015-09-01 06:53:16 +00:00
|
|
|
fn qux() where X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT, X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT {
|
|
|
|
baz();
|
|
|
|
}
|
|
|
|
|
|
|
|
fn qux() where X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT, X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT, X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT, X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT {
|
|
|
|
baz();
|
|
|
|
}
|
|
|
|
|
2015-09-01 06:20:17 +00:00
|
|
|
impl Foo {
|
|
|
|
fn foo(self, a: Aaaaaaaaaaaaaaa, b: Bbbbbbbbbbbbbbbb, c: Ccccccccccccccccc, d: Ddddddddddddddddddddddddd, e: Eeeeeeeeeeeeeeeeeee) {
|
|
|
|
foo();
|
|
|
|
}
|
|
|
|
|
|
|
|
fn bar<'a: 'bbbbbbbbbbbbbbbbbbbbbbbbbbb, TTTTTTTTTTTTT, UUUUUUUUUUUUUUUUUUUU: WWWWWWWWWWWWWWWWWWWWWWWW>(a: Aaaaaaaaaaaaaaa) {
|
|
|
|
bar();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
struct Foo<TTTTTTTTTTTTTTTTTTTTTTTTTTTT, UUUUUUUUUUUUUUUUUUUUUU, VVVVVVVVVVVVVVVVVVVVVVVVVVV, WWWWWWWWWWWWWWWWWWWWWWWW> {
|
|
|
|
foo: Foo,
|
|
|
|
}
|