fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error: lifetime may not live long enough 2 --> $DIR/variance-cell-is-invariant.rs:14:12 3 | 4LL | fn use_<'short,'long>(c: Foo<'short>, 5 | ------ ----- lifetime `'long` defined here 6 | | 7 | lifetime `'short` defined here 8... 9LL | let _: Foo<'long> = c; 10 | ^^^^^^^^^^ type annotation requires that `'short` must outlive `'long` 11 12error: aborting due to previous error 13