2016-08-02 21:07:56 -04:00
|
|
|
// rustfmt-space_before_bound: true
|
|
|
|
|
|
|
|
trait Trait {}
|
2017-01-09 06:58:06 +04:00
|
|
|
trait Trait2 {}
|
|
|
|
fn f<'a, 'b : 'a, T : Trait, U>() where U : Trait2 {}
|
|
|
|
|
|
|
|
// should fit on the line
|
|
|
|
fn f2<'a, 'b : 'a, Ttttttttttttttttttttttttttttttttttttttttttttttt : Trait, U>() where U : Trait2 {}
|
|
|
|
// should be wrapped
|
|
|
|
fn f2<'a, 'b : 'a, Tttttttttttttttttttttttttttttttttttttttttttttttt : Trait, U>() where U : Trait2 {
|
|
|
|
}
|