1error[E0228]: the lifetime bound for this object type cannot be deduced from context; please supply an explicit bound 2 --> $DIR/object-lifetime-default-ambiguous.rs:23:28 3 | 4LL | fn a<'a,'b>(t: Ref2<'a,'b, dyn Test>) { 5 | ^^^^^^^^ 6 7error[E0228]: the lifetime bound for this object type cannot be deduced from context; please supply an explicit bound 8 --> $DIR/object-lifetime-default-ambiguous.rs:27:14 9 | 10LL | fn b(t: Ref2<dyn Test>) { 11 | ^^^^^^^^ 12 13error[E0228]: the lifetime bound for this object type cannot be deduced from context; please supply an explicit bound 14 --> $DIR/object-lifetime-default-ambiguous.rs:43:15 15 | 16LL | fn f(t: &Ref2<dyn Test>) { 17 | ^^^^^^^^ 18 19error: aborting due to 3 previous errors 20 21For more information about this error, try `rustc --explain E0228`. 22