fork/rust
git clone https://git.julia.blue/fork/rust
f3e1a954d2e
1.41.1
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 | 10 = help: consider replacing `'b` with `'static` 11 12error: aborting due to previous error 13