1 error[E0623]: lifetime mismatch
2 --> $DIR/regions-bounded-method-type-parameters-trait-bound.rs:30:7
4 LL | fn caller2<'a,'b,F:Foo<'a>>(a: Inv<'a>, b: Inv<'b>, f: F) {
5 | ------- ------- these two types are declared with different lifetimes...
6 LL | // Here the value provided for 'y is 'b, and hence 'b:'a does not hold.
7 LL | f.method(b); //~ ERROR 30:7: 30:13: lifetime mismatch [E0623]
8 | ^^^^^^ ...but data from `b` flows into `a` here
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0623`.