rust/tests/target/fn-custom-4.rs
2017-06-13 14:42:54 +12:00

29 lines
472 B
Rust

// rustfmt-where_pred_indent: Block
// rustfmt-where_density: Compressed
// 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();
}