1 warning: not reporting region error due to nll
2 --> $DIR/regions-bounded-method-type-parameters-cross-crate.rs:30:7
4 LL | a.bigger_region(b) //~ ERROR 30:7: 30:20: lifetime mismatch [E0623]
7 error: unsatisfied lifetime constraints
8 --> $DIR/regions-bounded-method-type-parameters-cross-crate.rs:30:5
10 LL | fn call_bigger_region<'x, 'y>(a: Inv<'x>, b: Inv<'y>) {
11 | -- -- lifetime `'y` defined here
13 | lifetime `'x` defined here
14 LL | // Here the value provided for 'y is 'y, and hence 'y:'x does not hold.
15 LL | a.bigger_region(b) //~ ERROR 30:7: 30:20: lifetime mismatch [E0623]
16 | ^^^^^^^^^^^^^^^^^^ argument requires that `'y` must outlive `'x`
18 error: aborting due to previous error