1 error[E0478]: lifetime bound not satisfied
2 --> $DIR/issue-91883.rs:30:24
4 LL | type Cursor<'tx>: Cursor<'tx>
5 | ----------------------------- definition of `Cursor` from trait
7 LL | type Cursor<'tx> = CursorImpl<'tx>;
8 | ^^^^^^^^^^^^^^^- help: try copying these clauses from the trait: `where 'db: 'tx, Self: 'tx`
10 note: lifetime parameter instantiated with the lifetime `'db` as defined here
11 --> $DIR/issue-91883.rs:29:6
13 LL | impl<'db> Transaction<'db> for TransactionImpl<'db> {
15 note: but lifetime parameter must outlive the lifetime `'tx` as defined here
16 --> $DIR/issue-91883.rs:30:17
18 LL | type Cursor<'tx> = CursorImpl<'tx>;
21 error: aborting due to previous error
23 For more information about this error, try `rustc --explain E0478`.