2015-09-01 06:20:17 +00:00
|
|
|
// Test different indents.
|
|
|
|
|
2017-03-19 22:59:08 +00:00
|
|
|
fn foo(
|
|
|
|
a: Aaaaaaaaaaaaaaa,
|
2015-09-01 06:20:17 +00:00
|
|
|
b: Bbbbbbbbbbbbbbbb,
|
|
|
|
c: Ccccccccccccccccc,
|
|
|
|
d: Ddddddddddddddddddddddddd,
|
2017-03-19 22:59:08 +00:00
|
|
|
e: Eeeeeeeeeeeeeeeeeee,
|
|
|
|
) {
|
2015-09-01 06:20:17 +00:00
|
|
|
foo();
|
|
|
|
}
|
|
|
|
|
2017-03-12 22:25:46 +00:00
|
|
|
fn bar<
|
2017-03-19 22:07:33 +00:00
|
|
|
'a: 'bbbbbbbbbbbbbbbbbbbbbbbbbbb,
|
|
|
|
TTTTTTTTTTTTT,
|
2017-06-10 09:24:23 +00:00
|
|
|
UUUUUUUUUUUUUUUUUUUU: WWWWWWWWWWWWWWWWWWWWWWWW,
|
2017-03-19 22:59:08 +00:00
|
|
|
>(
|
|
|
|
a: Aaaaaaaaaaaaaaa,
|
|
|
|
) {
|
2015-09-01 06:20:17 +00:00
|
|
|
bar();
|
|
|
|
}
|
|
|
|
|
2015-09-01 06:53:16 +00:00
|
|
|
fn qux()
|
2017-06-12 04:01:41 +00:00
|
|
|
where
|
|
|
|
X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT,
|
|
|
|
X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT,
|
2015-09-01 06:53:16 +00:00
|
|
|
{
|
|
|
|
baz();
|
|
|
|
}
|
|
|
|
|
|
|
|
fn qux()
|
2017-06-12 04:01:41 +00:00
|
|
|
where
|
|
|
|
X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT,
|
|
|
|
X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT,
|
|
|
|
X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT,
|
|
|
|
X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT,
|
2015-09-01 06:53:16 +00:00
|
|
|
{
|
|
|
|
baz();
|
|
|
|
}
|
|
|
|
|
2015-09-01 06:20:17 +00:00
|
|
|
impl Foo {
|
2017-03-19 22:59:08 +00:00
|
|
|
fn foo(
|
|
|
|
self,
|
2015-09-01 06:20:17 +00:00
|
|
|
a: Aaaaaaaaaaaaaaa,
|
|
|
|
b: Bbbbbbbbbbbbbbbb,
|
|
|
|
c: Ccccccccccccccccc,
|
|
|
|
d: Ddddddddddddddddddddddddd,
|
2017-03-19 22:59:08 +00:00
|
|
|
e: Eeeeeeeeeeeeeeeeeee,
|
|
|
|
) {
|
2015-09-01 06:20:17 +00:00
|
|
|
foo();
|
|
|
|
}
|
|
|
|
|
2017-03-12 22:25:46 +00:00
|
|
|
fn bar<
|
2017-03-19 22:07:33 +00:00
|
|
|
'a: 'bbbbbbbbbbbbbbbbbbbbbbbbbbb,
|
|
|
|
TTTTTTTTTTTTT,
|
2017-06-10 09:24:23 +00:00
|
|
|
UUUUUUUUUUUUUUUUUUUU: WWWWWWWWWWWWWWWWWWWWWWWW,
|
2017-06-03 14:16:29 +00:00
|
|
|
>(
|
2017-03-19 22:59:08 +00:00
|
|
|
a: Aaaaaaaaaaaaaaa,
|
|
|
|
) {
|
2015-09-01 06:20:17 +00:00
|
|
|
bar();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-12 22:25:46 +00:00
|
|
|
struct Foo<
|
2017-03-19 22:07:33 +00:00
|
|
|
TTTTTTTTTTTTTTTTTTTTTTTTTTTT,
|
|
|
|
UUUUUUUUUUUUUUUUUUUUUU,
|
|
|
|
VVVVVVVVVVVVVVVVVVVVVVVVVVV,
|
2017-06-10 09:24:23 +00:00
|
|
|
WWWWWWWWWWWWWWWWWWWWWWWW,
|
2017-03-12 22:25:46 +00:00
|
|
|
> {
|
2015-09-01 06:20:17 +00:00
|
|
|
foo: Foo,
|
|
|
|
}
|