rust/tests/target/fn-custom-4.rs
Nick Cameron 86007e7d17 Remove where_density and where_layout options
There is a choice between block and visual indent for where clauses, plus the
single line option. I think these two are too fine-grained to be useful.
2017-11-24 21:08:24 +13:00

28 lines
430 B
Rust

// rustfmt-indent_style: Block
// Test different indents.
fn qux()
where
X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT,
X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT,
X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT,
X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT,
{
baz();
}
fn qux()
where
X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT,
{
baz();
}
fn qux(a: Aaaaaaaaaaaaaaaaa)
where
X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT,
X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT,
{
baz();
}