2015-09-01 15:56:37 -05:00
|
|
|
// rustfmt-fn_args_density: Compressed
|
2015-09-01 00:06:41 -05:00
|
|
|
// Test some of the ways function signatures can be customised.
|
|
|
|
|
|
|
|
// Test compressed layout of args.
|
2017-06-11 23:01:41 -05:00
|
|
|
fn foo(
|
|
|
|
a: Aaaaaaaaaaaaaaa, b: Bbbbbbbbbbbbbbbb, c: Ccccccccccccccccc, d: Ddddddddddddddddddddddddd,
|
|
|
|
e: Eeeeeeeeeeeeeeeeeee
|
|
|
|
) {
|
2015-09-01 00:06:41 -05:00
|
|
|
foo();
|
|
|
|
}
|
|
|
|
|
|
|
|
impl Foo {
|
2017-06-11 23:01:41 -05:00
|
|
|
fn foo(
|
|
|
|
self, a: Aaaaaaaaaaaaaaa, b: Bbbbbbbbbbbbbbbb, c: Ccccccccccccccccc,
|
|
|
|
d: Ddddddddddddddddddddddddd, e: Eeeeeeeeeeeeeeeeeee
|
|
|
|
) {
|
2015-09-01 00:06:41 -05:00
|
|
|
foo();
|
|
|
|
}
|
|
|
|
}
|