| error[E0623]: lifetime mismatch |
| --> $DIR/regions-bounded-method-type-parameters-cross-crate.rs:30:7 |
| | |
| LL | fn call_bigger_region<'x, 'y>(a: Inv<'x>, b: Inv<'y>) { |
| | ------- ------- these two types are declared with different lifetimes... |
| LL | // Here the value provided for 'y is 'y, and hence 'y:'x does not hold. |
| LL | a.bigger_region(b) //~ ERROR 30:7: 30:20: lifetime mismatch [E0623] |
| | ^^^^^^^^^^^^^ ...but data from `b` flows into `a` here |
| |
| error: aborting due to previous error |
| |
| For more information about this error, try `rustc --explain E0623`. |