2 // Test that `Box<Test>` is equivalent to `Box<Test+'static>`, both in
3 // fields and fn arguments.
5 // pretty-expanded FIXME #23616
15 u: Box<dyn Test+'static>,
18 fn a(t: Box<dyn Test>, mut ss: SomeStruct) {
22 fn b(t: Box<dyn Test+'static>, mut ss: SomeStruct) {
26 fn c(t: Box<dyn Test>, mut ss: SomeStruct) {
30 fn d(t: Box<dyn Test+'static>, mut ss: SomeStruct) {