mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 20:54:13 +00:00
26 lines
842 B
Rust
26 lines
842 B
Rust
|
// rustfmt-fn_arg_indent: Inherit
|
||
|
// rustfmt-generics_indent: Tabbed
|
||
|
// Test different indents.
|
||
|
|
||
|
fn foo(a: Aaaaaaaaaaaaaaa, b: Bbbbbbbbbbbbbbbb, c: Ccccccccccccccccc, d: Ddddddddddddddddddddddddd, e: Eeeeeeeeeeeeeeeeeee) {
|
||
|
foo();
|
||
|
}
|
||
|
|
||
|
fn bar<'a: 'bbbbbbbbbbbbbbbbbbbbbbbbbbb, TTTTTTTTTTTTT, UUUUUUUUUUUUUUUUUUUU: WWWWWWWWWWWWWWWWWWWWWWWW>(a: Aaaaaaaaaaaaaaa) {
|
||
|
bar();
|
||
|
}
|
||
|
|
||
|
impl Foo {
|
||
|
fn foo(self, a: Aaaaaaaaaaaaaaa, b: Bbbbbbbbbbbbbbbb, c: Ccccccccccccccccc, d: Ddddddddddddddddddddddddd, e: Eeeeeeeeeeeeeeeeeee) {
|
||
|
foo();
|
||
|
}
|
||
|
|
||
|
fn bar<'a: 'bbbbbbbbbbbbbbbbbbbbbbbbbbb, TTTTTTTTTTTTT, UUUUUUUUUUUUUUUUUUUU: WWWWWWWWWWWWWWWWWWWWWWWW>(a: Aaaaaaaaaaaaaaa) {
|
||
|
bar();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
struct Foo<TTTTTTTTTTTTTTTTTTTTTTTTTTTT, UUUUUUUUUUUUUUUUUUUUUU, VVVVVVVVVVVVVVVVVVVVVVVVVVV, WWWWWWWWWWWWWWWWWWWWWWWW> {
|
||
|
foo: Foo,
|
||
|
}
|