1 error: lifetime may not live long enough
2 --> $DIR/regions-variance-invariant-use-contravariant.rs:20:12
4 LL | fn use_<'short,'long>(c: Invariant<'long>,
5 | ------ ----- lifetime `'long` defined here
7 | lifetime `'short` defined here
9 LL | let _: Invariant<'short> = c;
10 | ^^^^^^^^^^^^^^^^^ type annotation requires that `'short` must outlive `'long`
12 = help: consider adding the following bound: `'short: 'long`
14 error: aborting due to previous error