1 error[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
4 LL | fn a<'a,'b>(t: Ref2<'a,'b, dyn Test>) {
7 error[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
10 LL | fn b(t: Ref2<dyn Test>) {
13 error[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
16 LL | fn f(t: &Ref2<dyn Test>) {
19 error: aborting due to 3 previous errors
21 For more information about this error, try `rustc --explain E0228`.