fork/rust
git clone https://git.julia.blue/fork/rust
5e1a799842b
1.41.0
1error[E0623]: lifetime mismatch 2 --> $DIR/variance-cell-is-invariant.rs:14:25 3 | 4LL | fn use_<'short,'long>(c: Foo<'short>, 5 | ----------- these two types are declared with different lifetimes... 6LL | s: &'short isize, 7LL | l: &'long isize, 8 | ------------ 9LL | _where:Option<&'short &'long ()>) { 10LL | let _: Foo<'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`.