1 error: unsatisfied lifetime constraints
2 --> $DIR/variance-covariant-self-trait-match.rs:24:5
4 LL | fn get_min_from_max<'min, 'max, G>()
5 | ---- ---- lifetime `'max` defined here
7 | lifetime `'min` defined here
9 LL | impls_get::<&'min G>(); //~ ERROR mismatched types
10 | ^^^^^^^^^^^^^^^^^^^^^^ requires that `'min` must outlive `'max`
12 error: unsatisfied lifetime constraints
13 --> $DIR/variance-covariant-self-trait-match.rs:30:5
15 LL | fn get_max_from_min<'min, 'max, G>()
16 | ---- ---- lifetime `'max` defined here
18 | lifetime `'min` defined here
20 LL | impls_get::<&'max G>(); //~ ERROR mismatched types
21 | ^^^^^^^^^^^^^^^^^^^^^^ requires that `'min` must outlive `'max`
23 error: aborting due to 2 previous errors