2015-09-01 01:20:17 -05:00
|
|
|
// rustfmt-fn_arg_indent: Inherit
|
|
|
|
// rustfmt-generics_indent: Tabbed
|
2015-09-01 01:38:12 -05:00
|
|
|
// rustfmt-where_indent: Inherit
|
2015-09-01 01:53:16 -05:00
|
|
|
// rustfmt-where_layout: Mixed
|
2015-09-01 01:20:17 -05: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 01:38:12 -05:00
|
|
|
fn baz()
|
|
|
|
where X: TTTTTTTT
|
|
|
|
{
|
|
|
|
baz();
|
|
|
|
}
|
|
|
|
|
2015-09-01 01:53:16 -05:00
|
|
|
fn qux()
|
|
|
|
where X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT, X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT,
|
|
|
|
X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT, X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT
|
|
|
|
{
|
|
|
|
baz();
|
|
|
|
}
|
|
|
|
|
2015-09-01 01:20:17 -05: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();
|
|
|
|
}
|
2015-09-01 01:38:12 -05:00
|
|
|
|
|
|
|
fn baz()
|
|
|
|
where X: TTTTTTTT
|
|
|
|
{
|
|
|
|
baz();
|
|
|
|
}
|
2015-09-01 01:20:17 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
struct Foo<TTTTTTTTTTTTTTTTTTTTTTTTTTTT,
|
|
|
|
UUUUUUUUUUUUUUUUUUUUUU,
|
|
|
|
VVVVVVVVVVVVVVVVVVVVVVVVVVV,
|
|
|
|
WWWWWWWWWWWWWWWWWWWWWWWW>
|
|
|
|
{
|
|
|
|
foo: Foo,
|
|
|
|
}
|