2019-06-03 08:26:48 -05:00
|
|
|
// rustfmt-fn_args_layout: Compressed
|
2015-09-01 00:06:41 -05:00
|
|
|
// Test some of the ways function signatures can be customised.
|
|
|
|
|
|
|
|
// Test compressed layout of args.
|
|
|
|
fn foo(a: Aaaaaaaaaaaaaaa, b: Bbbbbbbbbbbbbbbb, c: Ccccccccccccccccc, d: Ddddddddddddddddddddddddd, e: Eeeeeeeeeeeeeeeeeee) {
|
|
|
|
foo();
|
|
|
|
}
|
|
|
|
|
|
|
|
impl Foo {
|
|
|
|
fn foo(self, a: Aaaaaaaaaaaaaaa, b: Bbbbbbbbbbbbbbbb, c: Ccccccccccccccccc, d: Ddddddddddddddddddddddddd, e: Eeeeeeeeeeeeeeeeeee) {
|
|
|
|
foo();
|
|
|
|
}
|
|
|
|
}
|