fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1error[E0623]: lifetime mismatch 2 --> $DIR/regions-variance-contravariant-use-covariant.rs:23: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 15For more information about this error, try `rustc --explain E0623`.