2015-09-01 22:56:37 +02:00
|
|
|
// rustfmt-fn_args_density: Compressed
|
2015-09-01 07:06:41 +02:00
|
|
|
// Test some of the ways function signatures can be customised.
|
|
|
|
|
|
|
|
// Test compressed layout of args.
|
2015-09-27 08:39:58 +02:00
|
|
|
fn foo(a: Aaaaaaaaaaaaaaa, b: Bbbbbbbbbbbbbbbb, c: Ccccccccccccccccc, d: Ddddddddddddddddddddddddd,
|
|
|
|
e: Eeeeeeeeeeeeeeeeeee) {
|
2015-09-01 07:06:41 +02:00
|
|
|
foo();
|
|
|
|
}
|
|
|
|
|
|
|
|
impl Foo {
|
|
|
|
fn foo(self, a: Aaaaaaaaaaaaaaa, b: Bbbbbbbbbbbbbbbb, c: Ccccccccccccccccc,
|
|
|
|
d: Ddddddddddddddddddddddddd, e: Eeeeeeeeeeeeeeeeeee) {
|
|
|
|
foo();
|
|
|
|
}
|
|
|
|
}
|