fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error: lifetime may not live long enough 2 --> $DIR/regions-variance-invariant-use-covariant.rs:17:12 3 | 4LL | fn use_<'b>(c: Invariant<'b>) { 5 | -- lifetime `'b` defined here 6... 7LL | let _: Invariant<'static> = c; 8 | ^^^^^^^^^^^^^^^^^^ type annotation requires that `'b` must outlive `'static` 9 10error: aborting due to previous error 11