mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-09 14:25:24 +00:00
Merge pull request #250 from marcusklaas/regtest5
Add regression test for trait reference formatting
This commit is contained in:
commit
f5ee0f0986
@ -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…
Reference in New Issue
Block a user