rust/tests/target/fn-custom-4.rs

24 lines
481 B
Rust
Raw Normal View History

// 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();
}