Add regression test for trait reference formatting
This commit is contained in:
parent
17302f8967
commit
ba0e0e6ac1
@ -17,3 +17,5 @@ fn generic<T>(arg: T) -> &SomeType
|
||||
B, C, D, /* pre comment */ E /* last comment */) -> &SomeType {
|
||||
arg(a, b, c, d, e)
|
||||
}
|
||||
|
||||
fn some_func<T:Box<Trait+Bound>>(val:T){}
|
||||
|
@ -27,3 +27,6 @@ fn generic<T>(arg: T) -> &SomeType
|
||||
{
|
||||
arg(a, b, c, d, e)
|
||||
}
|
||||
|
||||
fn some_func<T: Box<Trait + Bound>>(val: T) {
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user