882ef8cc82
Fixes #1000 This is a little conservative in some cases, but better than being wrong in others.
16 lines
467 B
Rust
16 lines
467 B
Rust
// rustfmt-fn_args_density: Compressed
|
|
// 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();
|
|
}
|
|
}
|