blob: 98f7a8136da91ef9a4704d1e34f988c2c37e8bfe [file] [log] [blame]
error[E0623]: lifetime mismatch
--> $DIR/regions-variance-contravariant-use-covariant-in-second-position.rs:25:30
|
LL | fn use_<'short,'long>(c: S<'long, 'short>,
| ---------------- this type is declared with multiple lifetimes...
...
LL | let _: S<'long, 'long> = c;
| ^ ...but data with one lifetime flows into the other here
error: aborting due to previous error
For more information about this error, try `rustc --explain E0623`.