1 error: unsatisfied lifetime constraints
2 --> $DIR/variance-use-covariant-struct-1.rs:20:5
4 LL | fn foo<'min,'max>(v: SomeStruct<&'min ()>)
5 | ---- ---- lifetime `'max` defined here
7 | lifetime `'min` defined here
9 LL | v //~ ERROR mismatched types
10 | ^ returning this value requires that `'min` must outlive `'max`
12 error: aborting due to previous error