fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error[E0623]: lifetime mismatch 2 --> $DIR/regions-infer-contravariance-due-to-decl.rs:25:35 3 | 4LL | fn use_<'short,'long>(c: Contravariant<'short>, 5 | --------------------- these two types are declared with different lifetimes... 6LL | s: &'short isize, 7LL | l: &'long isize, 8 | ------------ 9... 10LL | let _: Contravariant<'long> = c; 11 | ^ ...but data from `c` flows into `l` here 12 13error: aborting due to previous error 14