fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error: lifetime may not live long enough 2 --> $DIR/regions-infer-covariance-due-to-decl.rs:22:12 3 | 4LL | fn use_<'short,'long>(c: Covariant<'long>, 5 | ------ ----- lifetime `'long` defined here 6 | | 7 | lifetime `'short` defined here 8... 9LL | let _: Covariant<'short> = c; 10 | ^^^^^^^^^^^^^^^^^ type annotation requires that `'short` must outlive `'long` 11 | 12 = help: consider adding the following bound: `'short: 'long` 13 14error: aborting due to previous error 15